#9038CB#9038CB

#9038CB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.217 H 307.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9038CB
RGBrgb(144, 56, 203)
HSLhsl(276, 59%, 51%)
HSVhsv(276, 72%, 80%)
CMYKcmyk(29.1%, 72.4%, 0%, 20.4%)
CIE-LABlab(42.87, 60.93, -60.41)
CIE-LCHlch(42.87, 85.80, 315.25°)
OKLaboklab(53.47% 0.1335 -0.1714)
OKLCHoklch(53.47% 0.217 307.9)
XYZxyz(23.6930, 13.0698, 57.7629)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038CB #73CB38
analogous
#4638CB #9038CB #CB38BD
triadic
#9038CB #CB9038 #38CB90
tetradic
#9038CB #CB4638 #73CB38 #38BDCB
square
#9038CB #CB4638 #73CB38 #38BDCB
split-complementary
#9038CB #BDCB38 #38CB46
monochromatic
#4C1C6C #6E299D #9038CB #AB69D8 #C699E4

Accessibility & contrast

On white

5.81
#9038CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9038CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038CB#FFFFFF#000000##FFFFFF
##9038CB1.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)
#0062CF
Deuteranopia (green-blind)
#0166C8
Tritanopia (blue-blind)
#875A7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9038cb;
/* rgb */ color: rgb(144, 56, 203);
/* oklch */ color: oklch(53.5% 0.217 307.9);
Tailwind
colors: {
  custom: {
    50: '#b677dc',
    500: '#9038cb',
    950: '#000000',
  },
}
SCSS
$custom: #9038cb;
$custom-light: #b677dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9038cb",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 275.918,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.21727,
    "h": 307.9
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#9038CB
secondary
#A9D08F
accent
#E24685
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9038CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9038CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva