#9239E2#9239E2

#9239E2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.5% C 0.239 H 303.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9239E2
RGBrgb(146, 57, 226)
HSLhsl(272, 74%, 55%)
HSVhsv(272, 75%, 89%)
CMYKcmyk(35.4%, 74.8%, 0%, 11.4%)
CIE-LABlab(44.98, 66.00, -70.16)
CIE-LCHlch(44.98, 96.32, 313.25°)
OKLaboklab(55.55% 0.1308 -0.2)
OKLCHoklch(55.55% 0.239 303.2)
XYZxyz(27.0414, 14.5282, 73.3164)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239E2 #89E239
analogous
#3E39E2 #9239E2 #E239DD
triadic
#9239E2 #E29239 #39E292
tetradic
#9239E2 #E23E39 #89E239 #39DDE2
square
#9239E2 #E23E39 #89E239 #39DDE2
split-complementary
#9239E2 #DDE239 #39E23E
monochromatic
#53158C #731CC1 #9239E2 #AF6EEA #CDA4F2

Accessibility & contrast

On white

5.38
#9239E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9239E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239E2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239E2#FFFFFF#000000##FFFFFF
##9239E21.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#82648C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9239e2;
/* rgb */ color: rgb(146, 57, 226);
/* oklch */ color: oklch(55.5% 0.239 303.2);
Tailwind
colors: {
  custom: {
    50: '#b878ec',
    500: '#9239e2',
    950: '#000000',
  },
}
SCSS
$custom: #9239e2;
$custom-light: #b878ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9239e2",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 271.598,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.23899,
    "h": 303.2
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#9239E2
secondary
#BADF98
accent
#F1378F
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9239E2

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

Preview Lab → · Contrast checker → · Palette generator →

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