#9239C1#9239C1

#9239C1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.207 H 311.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9239C1
RGBrgb(146, 57, 193)
HSLhsl(279, 54%, 49%)
HSVhsv(279, 70%, 76%)
CMYKcmyk(24.4%, 70.5%, 0%, 24.3%)
CIE-LABlab(42.59, 58.75, -55.03)
CIE-LCHlch(42.59, 80.50, 316.87°)
OKLaboklab(53.11% 0.1366 -0.1555)
OKLCHoklch(53.11% 0.207 311.3)
XYZxyz(22.9410, 12.8881, 51.7209)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239C1 #68C139
analogous
#4E39C1 #9239C1 #C139AC
triadic
#9239C1 #C19239 #39C192
tetradic
#9239C1 #C14E39 #68C139 #39ACC1
square
#9239C1 #C14E39 #68C139 #39ACC1
split-complementary
#9239C1 #ACC139 #39C14E
monochromatic
#4B1D63 #6E2B92 #9239C1 #AC66D2 #C695E0

Accessibility & contrast

On white

5.87
#9239C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9239C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239C1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239C1#FFFFFF#000000##FFFFFF
##9239C11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#2666BE
Tritanopia (blue-blind)
#8C5779
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9239c1;
/* rgb */ color: rgb(146, 57, 193);
/* oklch */ color: oklch(53.1% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#b677d4',
    500: '#9239c1',
    950: '#000000',
  },
}
SCSS
$custom: #9239c1;
$custom-light: #b677d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9239c1",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 279.265,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53109,
    "c": 0.20699,
    "h": 311.3
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#9239C1
secondary
#A1CB8B
accent
#DE4A7D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9239C1

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

Preview Lab → · Contrast checker → · Palette generator →

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