#9239C8#9239C8

#9239C8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.214 H 309.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9239C8
RGBrgb(146, 57, 200)
HSLhsl(277, 57%, 50%)
HSVhsv(277, 72%, 78%)
CMYKcmyk(27%, 71.5%, 0%, 21.6%)
CIE-LABlab(43.07, 60.25, -58.32)
CIE-LCHlch(43.07, 83.86, 315.93°)
OKLaboklab(53.6% 0.1356 -0.1652)
OKLCHoklch(53.6% 0.214 309.4)
XYZxyz(23.7404, 13.2078, 55.9311)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239C8 #6FC839
analogous
#4A39C8 #9239C8 #C839B6
triadic
#9239C8 #C89239 #39C892
tetradic
#9239C8 #C84A39 #6FC839 #39B6C8
square
#9239C8 #C84A39 #6FC839 #39B6C8
split-complementary
#9239C8 #B6C839 #39C84A
monochromatic
#4D1D69 #6F2B99 #9239C8 #AC69D5 #C799E3

Accessibility & contrast

On white

5.77
#9239C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9239C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239C8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239C8#FFFFFF#000000##FFFFFF
##9239C81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#1867C5
Tritanopia (blue-blind)
#8A597D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9239c8;
/* rgb */ color: rgb(146, 57, 200);
/* oklch */ color: oklch(53.6% 0.214 309.4);
Tailwind
colors: {
  custom: {
    50: '#b777da',
    500: '#9239c8',
    950: '#000000',
  },
}
SCSS
$custom: #9239c8;
$custom-light: #b777da;
$custom-dark: #000000;
JSON
{
  "hex": "#9239c8",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 277.343,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.21377,
    "h": 309.4
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#9239C8
secondary
#A7CE8F
accent
#E04881
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9239C8

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

Preview Lab → · Contrast checker → · Palette generator →

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