#8239C7#8239C7

#8239C7 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.209 H 303.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8239C7
RGBrgb(130, 57, 199)
HSLhsl(271, 56%, 50%)
HSVhsv(271, 71%, 78%)
CMYKcmyk(34.7%, 71.4%, 0%, 22%)
CIE-LABlab(40.89, 56.94, -61.38)
CIE-LCHlch(40.89, 83.73, 312.85°)
OKLaboklab(51.58% 0.1143 -0.1748)
OKLCHoklch(51.58% 0.209 303.2)
XYZxyz(20.9754, 11.7956, 55.1935)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239C7 #7EC739
analogous
#3B39C7 #8239C7 #C739C5
triadic
#8239C7 #C78239 #39C782
tetradic
#8239C7 #C73B39 #7EC739 #39C5C7
square
#8239C7 #C73B39 #7EC739 #39C5C7
split-complementary
#8239C7 #C5C739 #39C73B
monochromatic
#441D68 #632B98 #8239C7 #A069D4 #BE98E2

Accessibility & contrast

On white

6.25
#8239C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8239C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239C7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239C7#FFFFFF#000000##FFFFFF
##8239C71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#745B7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8239c7;
/* rgb */ color: rgb(130, 57, 199);
/* oklch */ color: oklch(51.6% 0.209 303.2);
Tailwind
colors: {
  custom: {
    50: '#ac76d9',
    500: '#8239c7',
    950: '#000000',
  },
}
SCSS
$custom: #8239c7;
$custom-light: #ac76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8239c7",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 270.845,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.20881,
    "h": 303.2
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#8239C7
secondary
#ADCE8E
accent
#DF4992
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8239C7

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

Preview Lab → · Contrast checker → · Palette generator →

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