#9239CA#9239CA

#9239CA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.216 H 308.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9239CA
RGBrgb(146, 57, 202)
HSLhsl(277, 58%, 51%)
HSVhsv(277, 72%, 79%)
CMYKcmyk(27.7%, 71.8%, 0%, 20.8%)
CIE-LABlab(43.21, 60.69, -59.25)
CIE-LCHlch(43.21, 84.82, 315.68°)
OKLaboklab(53.75% 0.1353 -0.168)
OKLCHoklch(53.75% 0.216 308.9)
XYZxyz(23.9757, 13.3019, 57.1702)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239CA #71CA39
analogous
#4939CA #9239CA #CA39B9
triadic
#9239CA #CA9239 #39CA92
tetradic
#9239CA #CA4939 #71CA39 #39B9CA
square
#9239CA #CA4939 #71CA39 #39B9CA
split-complementary
#9239CA #B9CA39 #39CA49
monochromatic
#4D1D6C #702A9C #9239CA #AD69D7 #C79AE4

Accessibility & contrast

On white

5.74
#9239CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9239CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239CA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239CA#FFFFFF#000000##FFFFFF
##9239CA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#1267C7
Tritanopia (blue-blind)
#8A5A7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9239ca;
/* rgb */ color: rgb(146, 57, 202);
/* oklch */ color: oklch(53.7% 0.216 308.9);
Tailwind
colors: {
  custom: {
    50: '#b777db',
    500: '#9239ca',
    950: '#000000',
  },
}
SCSS
$custom: #9239ca;
$custom-light: #b777db;
$custom-dark: #000000;
JSON
{
  "hex": "#9239ca",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 276.828,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53746,
    "c": 0.2157,
    "h": 308.9
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#9239CA
secondary
#A8D08F
accent
#E14782
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9239CA

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

Preview Lab → · Contrast checker → · Palette generator →

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