#8239C2#8239C2

#8239C2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.204 H 304.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8239C2
RGBrgb(130, 57, 194)
HSLhsl(272, 55%, 49%)
HSVhsv(272, 71%, 76%)
CMYKcmyk(33%, 70.6%, 0%, 23.9%)
CIE-LABlab(40.52, 55.77, -59.07)
CIE-LCHlch(40.52, 81.23, 313.35°)
OKLaboklab(51.2% 0.1151 -0.168)
OKLCHoklch(51.2% 0.204 304.4)
XYZxyz(20.4044, 11.5672, 52.1862)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239C2 #79C239
analogous
#3E39C2 #8239C2 #C239BE
triadic
#8239C2 #C28239 #39C282
tetradic
#8239C2 #C23E39 #79C239 #39BEC2
square
#8239C2 #C23E39 #79C239 #39BEC2
split-complementary
#8239C2 #BEC239 #39C23E
monochromatic
#431D63 #622B93 #8239C2 #A066D2 #BD95E0

Accessibility & contrast

On white

6.34
#8239C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8239C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239C2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239C2#FFFFFF#000000##FFFFFF
##8239C21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#76597A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8239c2;
/* rgb */ color: rgb(130, 57, 194);
/* oklch */ color: oklch(51.2% 0.204 304.4);
Tailwind
colors: {
  custom: {
    50: '#ab75d5',
    500: '#8239c2',
    950: '#000000',
  },
}
SCSS
$custom: #8239c2;
$custom-light: #ab75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8239c2",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 271.971,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.20363,
    "h": 304.4
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#8239C2
secondary
#A9CB8B
accent
#DE4A8F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8239C2

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

Preview Lab → · Contrast checker → · Palette generator →

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