#9239A2#9239A2

#9239A2 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.177 H 321.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9239A2
RGBrgb(146, 57, 162)
HSLhsl(291, 48%, 43%)
HSVhsv(291, 65%, 64%)
CMYKcmyk(9.9%, 64.8%, 0%, 36.5%)
CIE-LABlab(40.65, 52.41, -39.82)
CIE-LCHlch(40.65, 65.83, 322.77°)
OKLaboklab(51.09% 0.1383 -0.111)
OKLCHoklch(51.09% 0.177 321.2)
XYZxyz(19.8380, 11.6469, 35.3785)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239A2 #49A239
analogous
#5D39A2 #9239A2 #A2397D
triadic
#9239A2 #A29239 #39A292
tetradic
#9239A2 #A25D39 #49A239 #397DA2
square
#9239A2 #A25D39 #49A239 #397DA2
split-complementary
#9239A2 #7DA239 #39A25D
monochromatic
#401947 #692975 #9239A2 #B255C3 #C782D3

Accessibility & contrast

On white

6.31
#9239A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9239A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239A2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239A2#FFFFFF#000000##FFFFFF
##9239A21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#934A68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9239a2;
/* rgb */ color: rgb(146, 57, 162);
/* oklch */ color: oklch(51.1% 0.177 321.2);
Tailwind
colors: {
  custom: {
    50: '#b576be',
    500: '#9239a2',
    950: '#000000',
  },
}
SCSS
$custom: #9239a2;
$custom-light: #b576be;
$custom-dark: #000000;
JSON
{
  "hex": "#9239a2",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 290.857,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.17739,
    "h": 321.2
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#9239A2
secondary
#84BD7A
accent
#D85065
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #9239A2

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

Preview Lab → · Contrast checker → · Palette generator →

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