#9239C6#9239C6

#9239C6 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.212 H 309.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9239C6
RGBrgb(146, 57, 198)
HSLhsl(278, 55%, 50%)
HSVhsv(278, 71%, 78%)
CMYKcmyk(26.3%, 71.2%, 0%, 22.4%)
CIE-LABlab(42.94, 59.82, -57.39)
CIE-LCHlch(42.94, 82.90, 316.19°)
OKLaboklab(53.46% 0.1359 -0.1625)
OKLCHoklch(53.46% 0.212 309.9)
XYZxyz(23.5082, 13.1150, 54.7082)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239C6 #6DC639
analogous
#4B39C6 #9239C6 #C639B4
triadic
#9239C6 #C69239 #39C692
tetradic
#9239C6 #C64B39 #6DC639 #39B4C6
square
#9239C6 #C64B39 #6DC639 #39B4C6
split-complementary
#9239C6 #B4C639 #39C64B
monochromatic
#4C1E67 #6F2B96 #9239C6 #AC69D4 #C698E1

Accessibility & contrast

On white

5.80
#9239C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9239C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239C6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239C6#FFFFFF#000000##FFFFFF
##9239C61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#1D67C3
Tritanopia (blue-blind)
#8B597C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9239c6;
/* rgb */ color: rgb(146, 57, 198);
/* oklch */ color: oklch(53.5% 0.212 309.9);
Tailwind
colors: {
  custom: {
    50: '#b777d8',
    500: '#9239c6',
    950: '#000000',
  },
}
SCSS
$custom: #9239c6;
$custom-light: #b777d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9239c6",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 277.872,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.5346,
    "c": 0.21182,
    "h": 309.9
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#9239C6
secondary
#A5CD8E
accent
#DF4980
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9239C6

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

Preview Lab → · Contrast checker → · Palette generator →

#9239C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva