#9239C5#9239C5

#9239C5 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.211 H 310.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9239C5
RGBrgb(146, 57, 197)
HSLhsl(278, 55%, 50%)
HSVhsv(278, 71%, 77%)
CMYKcmyk(25.9%, 71.1%, 0%, 22.7%)
CIE-LABlab(42.87, 59.61, -56.92)
CIE-LCHlch(42.87, 82.42, 316.32°)
OKLaboklab(53.39% 0.1361 -0.1611)
OKLCHoklch(53.39% 0.211 310.2)
XYZxyz(23.3933, 13.0690, 54.1027)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239C5 #6CC539
analogous
#4C39C5 #9239C5 #C539B2
triadic
#9239C5 #C59239 #39C592
tetradic
#9239C5 #C54C39 #6CC539 #39B2C5
square
#9239C5 #C54C39 #6CC539 #39B2C5
split-complementary
#9239C5 #B2C539 #39C54C
monochromatic
#4C1E66 #6F2B96 #9239C5 #AC68D3 #C697E1

Accessibility & contrast

On white

5.81
#9239C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9239C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239C5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239C5#FFFFFF#000000##FFFFFF
##9239C51.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#1F67C2
Tritanopia (blue-blind)
#8B587B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9239c5;
/* rgb */ color: rgb(146, 57, 197);
/* oklch */ color: oklch(53.4% 0.211 310.2);
Tailwind
colors: {
  custom: {
    50: '#b677d7',
    500: '#9239c5',
    950: '#000000',
  },
}
SCSS
$custom: #9239c5;
$custom-light: #b677d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9239c5",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 278.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.21085,
    "h": 310.2
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#9239C5
secondary
#A4CD8D
accent
#DE4980
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9239C5

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

Preview Lab → · Contrast checker → · Palette generator →

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