#9239CF#9239CF

#9239CF is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.221 H 307.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9239CF
RGBrgb(146, 57, 207)
HSLhsl(276, 61%, 52%)
HSVhsv(276, 72%, 81%)
CMYKcmyk(29.5%, 72.5%, 0%, 18.8%)
CIE-LABlab(43.57, 61.78, -61.57)
CIE-LCHlch(43.57, 87.22, 315.10°)
OKLaboklab(54.11% 0.1345 -0.1748)
OKLCHoklch(54.11% 0.221 307.6)
XYZxyz(24.5773, 13.5426, 60.3386)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239CF #76CF39
analogous
#4739CF #9239CF #CF39C1
triadic
#9239CF #CF9239 #39CF92
tetradic
#9239CF #CF4739 #76CF39 #39C1CF
square
#9239CF #CF4739 #76CF39 #39C1CF
split-complementary
#9239CF #C1CF39 #39CF47
monochromatic
#4F1C72 #7128A3 #9239CF #AD6ADB #C89CE7

Accessibility & contrast

On white

5.66
#9239CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9239CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239CF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239CF#FFFFFF#000000##FFFFFF
##9239CF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#885C81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9239cf;
/* rgb */ color: rgb(146, 57, 207);
/* oklch */ color: oklch(54.1% 0.221 307.6);
Tailwind
colors: {
  custom: {
    50: '#b777df',
    500: '#9239cf',
    950: '#000000',
  },
}
SCSS
$custom: #9239cf;
$custom-light: #b777df;
$custom-dark: #000000;
JSON
{
  "hex": "#9239cf",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 275.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.22055,
    "h": 307.6
  },
  "luminance": 0.13542
}

Semantic roles & 50–950 ramp

primary
#9239CF
secondary
#ACD391
accent
#E44485
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9239CF

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

Preview Lab → · Contrast checker → · Palette generator →

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