#8239C8#8239C8

#8239C8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.210 H 302.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8239C8
RGBrgb(130, 57, 200)
HSLhsl(271, 57%, 50%)
HSVhsv(271, 72%, 78%)
CMYKcmyk(35%, 71.5%, 0%, 21.6%)
CIE-LABlab(40.96, 57.18, -61.84)
CIE-LCHlch(40.96, 84.22, 312.75°)
OKLaboklab(51.65% 0.1141 -0.1761)
OKLCHoklch(51.65% 0.21 302.9)
XYZxyz(21.0919, 11.8422, 55.8070)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239C8 #7FC839
analogous
#3A39C8 #8239C8 #C839C7
triadic
#8239C8 #C88239 #39C882
tetradic
#8239C8 #C83A39 #7FC839 #39C7C8
square
#8239C8 #C83A39 #7FC839 #39C7C8
split-complementary
#8239C8 #C7C839 #39C83A
monochromatic
#441D69 #632B99 #8239C8 #A069D5 #BE99E3

Accessibility & contrast

On white

6.23
#8239C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8239C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239C8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239C8#FFFFFF#000000##FFFFFF
##8239C81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#745C7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8239c8;
/* rgb */ color: rgb(130, 57, 200);
/* oklch */ color: oklch(51.7% 0.210 302.9);
Tailwind
colors: {
  custom: {
    50: '#ac76da',
    500: '#8239c8',
    950: '#000000',
  },
}
SCSS
$custom: #8239c8;
$custom-light: #ac76da;
$custom-dark: #000000;
JSON
{
  "hex": "#8239c8",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 270.629,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51654,
    "c": 0.20985,
    "h": 302.9
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#8239C8
secondary
#AECE8F
accent
#E04892
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8239C8

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

Preview Lab → · Contrast checker → · Palette generator →

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