#8239CB#8239CB

#8239CB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.213 H 302.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8239CB
RGBrgb(130, 57, 203)
HSLhsl(270, 58%, 51%)
HSVhsv(270, 72%, 80%)
CMYKcmyk(36%, 71.9%, 0%, 20.4%)
CIE-LABlab(41.19, 57.89, -63.22)
CIE-LCHlch(41.19, 85.71, 312.48°)
OKLaboklab(51.89% 0.1136 -0.1801)
OKLCHoklch(51.89% 0.213 302.2)
XYZxyz(21.4460, 11.9838, 57.6716)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239CB #82CB39
analogous
#3939CB #8239CB #CB39CB
triadic
#8239CB #CB8239 #39CB82
tetradic
#8239CB #CB3939 #82CB39 #39CBCB
square
#8239CB #CB3939 #82CB39 #39CBCB
split-complementary
#8239CB #CBCB39 #39CB39
monochromatic
#451D6D #63299D #8239CB #A169D8 #BF9AE4

Accessibility & contrast

On white

6.18
#8239CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8239CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239CB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239CB#FFFFFF#000000##FFFFFF
##8239CB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#735D7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8239cb;
/* rgb */ color: rgb(130, 57, 203);
/* oklch */ color: oklch(51.9% 0.213 302.2);
Tailwind
colors: {
  custom: {
    50: '#ac76dc',
    500: '#8239cb',
    950: '#000000',
  },
}
SCSS
$custom: #8239cb;
$custom-light: #ac76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8239cb",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51885,
    "c": 0.21295,
    "h": 302.2
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#8239CB
secondary
#B0D090
accent
#E24694
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8239CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8239CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva