#9239CC#9239CC

#9239CC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.218 H 308.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9239CC
RGBrgb(146, 57, 204)
HSLhsl(276, 59%, 51%)
HSVhsv(276, 72%, 80%)
CMYKcmyk(28.4%, 72.1%, 0%, 20%)
CIE-LABlab(43.36, 61.12, -60.18)
CIE-LCHlch(43.36, 85.78, 315.44°)
OKLaboklab(53.89% 0.135 -0.1707)
OKLCHoklch(53.89% 0.218 308.3)
XYZxyz(24.2140, 13.3973, 58.4254)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239CC #73CC39
analogous
#4839CC #9239CC #CC39BC
triadic
#9239CC #CC9239 #39CC92
tetradic
#9239CC #CC4839 #73CC39 #39BCCC
square
#9239CC #CC4839 #73CC39 #39BCCC
split-complementary
#9239CC #BCCC39 #39CC48
monochromatic
#4E1C6E #70299F #9239CC #AD6AD9 #C89AE5

Accessibility & contrast

On white

5.71
#9239CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9239CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239CC#FFFFFF#000000##FFFFFF
##9239CC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0A67C9
Tritanopia (blue-blind)
#895B7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9239cc;
/* rgb */ color: rgb(146, 57, 204);
/* oklch */ color: oklch(53.9% 0.218 308.3);
Tailwind
colors: {
  custom: {
    50: '#b777dc',
    500: '#9239cc',
    950: '#000000',
  },
}
SCSS
$custom: #9239cc;
$custom-light: #b777dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9239cc",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 276.327,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53891,
    "c": 0.21764,
    "h": 308.3
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

primary
#9239CC
secondary
#AAD190
accent
#E24683
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9239CC

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

Preview Lab → · Contrast checker → · Palette generator →

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