#9239E3#9239E3

#9239E3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.6% C 0.240 H 303.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9239E3
RGBrgb(146, 57, 227)
HSLhsl(271, 75%, 56%)
HSVhsv(271, 75%, 89%)
CMYKcmyk(35.7%, 74.9%, 0%, 11%)
CIE-LABlab(45.06, 66.23, -70.60)
CIE-LCHlch(45.06, 96.80, 313.17°)
OKLaboklab(55.63% 0.1306 -0.2013)
OKLCHoklch(55.63% 0.24 303)
XYZxyz(27.1790, 14.5833, 74.0411)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239E3 #8AE339
analogous
#3D39E3 #9239E3 #E339DF
triadic
#9239E3 #E39239 #39E392
tetradic
#9239E3 #E33D39 #8AE339 #39DFE3
square
#9239E3 #E33D39 #8AE339 #39DFE3
split-complementary
#9239E3 #DFE339 #39E33D
monochromatic
#54148E #731CC3 #9239E3 #B06FEB #CDA4F2

Accessibility & contrast

On white

5.36
#9239E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9239E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239E3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239E3#FFFFFF#000000##FFFFFF
##9239E31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E8
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#81658C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9239e3;
/* rgb */ color: rgb(146, 57, 227);
/* oklch */ color: oklch(55.6% 0.240 303.0);
Tailwind
colors: {
  custom: {
    50: '#b978ed',
    500: '#9239e3',
    950: '#000000',
  },
}
SCSS
$custom: #9239e3;
$custom-light: #b978ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9239e3",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 227
  },
  "hsl": {
    "h": 271.412,
    "s": 75.221,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.23997,
    "h": 303
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#9239E3
secondary
#BADF99
accent
#F2368F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9239E3

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

Preview Lab → · Contrast checker → · Palette generator →

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