#9239C2#9239C2

#9239C2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.208 H 311.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9239C2
RGBrgb(146, 57, 194)
HSLhsl(279, 55%, 49%)
HSVhsv(279, 71%, 76%)
CMYKcmyk(24.7%, 70.6%, 0%, 23.9%)
CIE-LABlab(42.66, 58.96, -55.50)
CIE-LCHlch(42.66, 80.98, 316.73°)
OKLaboklab(53.18% 0.1364 -0.1569)
OKLCHoklch(53.18% 0.208 311)
XYZxyz(23.0529, 12.9328, 52.3104)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239C2 #69C239
analogous
#4D39C2 #9239C2 #C239AE
triadic
#9239C2 #C29239 #39C292
tetradic
#9239C2 #C24D39 #69C239 #39AEC2
square
#9239C2 #C24D39 #69C239 #39AEC2
split-complementary
#9239C2 #AEC239 #39C24D
monochromatic
#4B1D63 #6E2B93 #9239C2 #AC66D2 #C695E0

Accessibility & contrast

On white

5.86
#9239C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9239C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239C2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239C2#FFFFFF#000000##FFFFFF
##9239C21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2466BF
Tritanopia (blue-blind)
#8C577A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9239c2;
/* rgb */ color: rgb(146, 57, 194);
/* oklch */ color: oklch(53.2% 0.208 311.0);
Tailwind
colors: {
  custom: {
    50: '#b677d5',
    500: '#9239c2',
    950: '#000000',
  },
}
SCSS
$custom: #9239c2;
$custom-light: #b677d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9239c2",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 278.978,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.20795,
    "h": 311
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#9239C2
secondary
#A2CB8B
accent
#DE4A7E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9239C2

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

Preview Lab → · Contrast checker → · Palette generator →

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