#8237D0#8237D0

#8237D0 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.220 H 301.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8237D0
RGBrgb(130, 55, 208)
HSLhsl(269, 62%, 52%)
HSVhsv(269, 74%, 82%)
CMYKcmyk(37.5%, 73.6%, 0%, 18.4%)
CIE-LABlab(41.27, 59.94, -65.98)
CIE-LCHlch(41.27, 89.15, 312.25°)
OKLaboklab(52.06% 0.1144 -0.1883)
OKLCHoklch(52.06% 0.22 301.3)
XYZxyz(21.9545, 12.0321, 60.8281)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237D0 #85D037
analogous
#3739D0 #8237D0 #CF37D0
triadic
#8237D0 #D08237 #37D082
tetradic
#8237D0 #D03739 #85D037 #37D0CF
square
#8237D0 #D03739 #85D037 #37D0CF
split-complementary
#8237D0 #D0CF37 #39D037
monochromatic
#451B72 #6426A3 #8237D0 #A169DC #C09AE7

Accessibility & contrast

On white

6.16
#8237D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8237D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237D0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237D0#FFFFFF#000000##FFFFFF
##8237D01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#715E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8237d0;
/* rgb */ color: rgb(130, 55, 208);
/* oklch */ color: oklch(52.1% 0.220 301.3);
Tailwind
colors: {
  custom: {
    50: '#ad75df',
    500: '#8237d0',
    950: '#000000',
  },
}
SCSS
$custom: #8237d0;
$custom-light: #ad75df;
$custom-dark: #000000;
JSON
{
  "hex": "#8237d0",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 269.412,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.22031,
    "h": 301.3
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#8237D0
secondary
#B2D390
accent
#E54395
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8237D0

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

Preview Lab → · Contrast checker → · Palette generator →

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