#9239CE#9239CE

#9239CE is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.220 H 307.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9239CE
RGBrgb(146, 57, 206)
HSLhsl(276, 60%, 52%)
HSVhsv(276, 72%, 81%)
CMYKcmyk(29.1%, 72.3%, 0%, 19.2%)
CIE-LABlab(43.50, 61.56, -61.11)
CIE-LCHlch(43.50, 86.74, 315.21°)
OKLaboklab(54.04% 0.1347 -0.1734)
OKLCHoklch(54.04% 0.22 307.8)
XYZxyz(24.4554, 13.4938, 59.6968)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239CE #75CE39
analogous
#4839CE #9239CE #CE39C0
triadic
#9239CE #CE9239 #39CE92
tetradic
#9239CE #CE4839 #75CE39 #39C0CE
square
#9239CE #CE4839 #75CE39 #39C0CE
split-complementary
#9239CE #C0CE39 #39CE48
monochromatic
#4F1C71 #7128A2 #9239CE #AD6ADA #C89BE6

Accessibility & contrast

On white

5.68
#9239CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9239CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239CE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239CE#FFFFFF#000000##FFFFFF
##9239CE1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0068CB
Tritanopia (blue-blind)
#885C80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9239ce;
/* rgb */ color: rgb(146, 57, 206);
/* oklch */ color: oklch(54.0% 0.220 307.8);
Tailwind
colors: {
  custom: {
    50: '#b777de',
    500: '#9239ce',
    950: '#000000',
  },
}
SCSS
$custom: #9239ce;
$custom-light: #b777de;
$custom-dark: #000000;
JSON
{
  "hex": "#9239ce",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 275.839,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.21959,
    "h": 307.8
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#9239CE
secondary
#ABD291
accent
#E34484
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9239CE

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

Preview Lab → · Contrast checker → · Palette generator →

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