#8237D6#8237D6

#8237D6 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.226 H 300.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8237D6
RGBrgb(130, 55, 214)
HSLhsl(268, 66%, 53%)
HSVhsv(268, 74%, 84%)
CMYKcmyk(39.3%, 74.3%, 0%, 16.1%)
CIE-LABlab(41.74, 61.37, -68.67)
CIE-LCHlch(41.74, 92.09, 311.79°)
OKLaboklab(52.54% 0.1131 -0.1962)
OKLCHoklch(52.54% 0.226 300)
XYZxyz(22.7067, 12.3330, 64.7895)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237D6 #8BD637
analogous
#373BD6 #8237D6 #D237D6
triadic
#8237D6 #D68237 #37D682
tetradic
#8237D6 #D6373B #8BD637 #37D6D2
square
#8237D6 #D6373B #8BD637 #37D6D2
split-complementary
#8237D6 #D6D237 #3BD637
monochromatic
#47197A #6423AC #8237D6 #A26AE0 #C19DEB

Accessibility & contrast

On white

6.06
#8237D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8237D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237D6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237D6#FFFFFF#000000##FFFFFF
##8237D61.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#6E6084
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8237d6;
/* rgb */ color: rgb(130, 55, 214);
/* oklch */ color: oklch(52.5% 0.226 300.0);
Tailwind
colors: {
  custom: {
    50: '#ad75e4',
    500: '#8237d6',
    950: '#000000',
  },
}
SCSS
$custom: #8237d6;
$custom-light: #ad75e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8237d6",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 214
  },
  "hsl": {
    "h": 268.302,
    "s": 65.975,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.22642,
    "h": 300
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#8237D6
secondary
#B6D792
accent
#E93F99
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8237D6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8237D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva