#9239D2#9239D2

#9239D2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.223 H 306.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9239D2
RGBrgb(146, 57, 210)
HSLhsl(275, 63%, 52%)
HSVhsv(275, 73%, 82%)
CMYKcmyk(30.5%, 72.9%, 0%, 17.6%)
CIE-LABlab(43.79, 62.44, -62.95)
CIE-LCHlch(43.79, 88.66, 314.77°)
OKLaboklab(54.33% 0.134 -0.1788)
OKLCHoklch(54.33% 0.223 306.9)
XYZxyz(24.9475, 13.6907, 62.2886)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239D2 #79D239
analogous
#4639D2 #9239D2 #D239C6
triadic
#9239D2 #D29239 #39D292
tetradic
#9239D2 #D24639 #79D239 #39C6D2
square
#9239D2 #D24639 #79D239 #39C6D2
split-complementary
#9239D2 #C6D239 #39D246
monochromatic
#501B76 #7126A8 #9239D2 #AD6BDD #C99DE9

Accessibility & contrast

On white

5.62
#9239D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9239D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239D2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239D2#FFFFFF#000000##FFFFFF
##9239D21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#875D83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9239d2;
/* rgb */ color: rgb(146, 57, 210);
/* oklch */ color: oklch(54.3% 0.223 306.9);
Tailwind
colors: {
  custom: {
    50: '#b778e1',
    500: '#9239d2',
    950: '#000000',
  },
}
SCSS
$custom: #9239d2;
$custom-light: #b778e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9239d2",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 274.902,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.22347,
    "h": 306.9
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#9239D2
secondary
#AED592
accent
#E64286
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9239D2

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

Preview Lab → · Contrast checker → · Palette generator →

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