#9239BF#9239BF

#9239BF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.205 H 311.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9239BF
RGBrgb(146, 57, 191)
HSLhsl(280, 54%, 49%)
HSVhsv(280, 70%, 75%)
CMYKcmyk(23.6%, 70.2%, 0%, 25.1%)
CIE-LABlab(42.46, 58.33, -54.08)
CIE-LCHlch(42.46, 79.54, 317.17°)
OKLaboklab(52.97% 0.1368 -0.1527)
OKLCHoklch(52.97% 0.205 311.8)
XYZxyz(22.7194, 12.7994, 50.5538)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239BF #66BF39
analogous
#4F39BF #9239BF #BF39A9
triadic
#9239BF #BF9239 #39BF92
tetradic
#9239BF #BF4F39 #66BF39 #39A9BF
square
#9239BF #BF4F39 #66BF39 #39A9BF
split-complementary
#9239BF #A9BF39 #39BF4F
monochromatic
#4A1D61 #6E2B90 #9239BF #AC64D1 #C693DF

Accessibility & contrast

On white

5.90
#9239BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9239BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239BF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239BF#FFFFFF#000000##FFFFFF
##9239BF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#8D5678
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9239bf;
/* rgb */ color: rgb(146, 57, 191);
/* oklch */ color: oklch(53.0% 0.205 311.8);
Tailwind
colors: {
  custom: {
    50: '#b677d3',
    500: '#9239bf',
    950: '#000000',
  },
}
SCSS
$custom: #9239bf;
$custom-light: #b677d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9239bf",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 279.851,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.20505,
    "h": 311.8
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

primary
#9239BF
secondary
#9FCA8A
accent
#DD4A7C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9239BF

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

Preview Lab → · Contrast checker → · Palette generator →

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