#9239DA#9239DA

#9239DA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.9% C 0.231 H 305.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9239DA
RGBrgb(146, 57, 218)
HSLhsl(273, 69%, 54%)
HSVhsv(273, 74%, 85%)
CMYKcmyk(33%, 73.9%, 0%, 14.5%)
CIE-LABlab(44.38, 64.21, -66.58)
CIE-LCHlch(44.38, 92.50, 313.96°)
OKLaboklab(54.93% 0.1325 -0.1895)
OKLCHoklch(54.93% 0.231 305)
XYZxyz(25.9692, 14.0993, 67.6694)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239DA #81DA39
analogous
#4239DA #9239DA #DA39D2
triadic
#9239DA #DA9239 #39DA92
tetradic
#9239DA #DA4239 #81DA39 #39D2DA
square
#9239DA #DA4239 #81DA39 #39D2DA
split-complementary
#9239DA #D2DA39 #39DA42
monochromatic
#521881 #7322B4 #9239DA #AE6DE4 #CBA0ED

Accessibility & contrast

On white

5.50
#9239DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9239DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239DA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239DA#FFFFFF#000000##FFFFFF
##9239DA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#846187
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9239da;
/* rgb */ color: rgb(146, 57, 218);
/* oklch */ color: oklch(54.9% 0.231 305.0);
Tailwind
colors: {
  custom: {
    50: '#b878e6',
    500: '#9239da',
    950: '#000000',
  },
}
SCSS
$custom: #9239da;
$custom-light: #b878e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9239da",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 273.168,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54932,
    "c": 0.23123,
    "h": 305
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#9239DA
secondary
#B4DA95
accent
#EB3C8B
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9239DA

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

Preview Lab → · Contrast checker → · Palette generator →

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