#903BCB#903BCB

#903BCB is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.214 H 307.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#903BCB
RGBrgb(144, 59, 203)
HSLhsl(275, 58%, 51%)
HSVhsv(275, 71%, 80%)
CMYKcmyk(29.1%, 70.9%, 0%, 20.4%)
CIE-LABlab(43.31, 59.67, -59.69)
CIE-LCHlch(43.31, 84.40, 314.99°)
OKLaboklab(53.78% 0.1306 -0.1693)
OKLCHoklch(53.78% 0.214 307.6)
XYZxyz(23.8428, 13.3693, 57.8128)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BCB #76CB3B
analogous
#483BCB #903BCB #CB3BBE
triadic
#903BCB #CB903B #3BCB90
tetradic
#903BCB #CB483B #76CB3B #3BBECB
square
#903BCB #CB483B #76CB3B #3BBECB
split-complementary
#903BCB #BECB3B #3BCB48
monochromatic
#4D1D6E #6F2A9F #903BCB #AB6BD8 #C79CE5

Accessibility & contrast

On white

5.72
#903BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#903BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BCB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BCB#FFFFFF#000000##FFFFFF
##903BCB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#865C7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903bcb;
/* rgb */ color: rgb(144, 59, 203);
/* oklch */ color: oklch(53.8% 0.214 307.6);
Tailwind
colors: {
  custom: {
    50: '#b578dc',
    500: '#903bcb',
    950: '#000000',
  },
}
SCSS
$custom: #903bcb;
$custom-light: #b578dc;
$custom-dark: #000000;
JSON
{
  "hex": "#903bcb",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 275.417,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.2138,
    "h": 307.6
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#903BCB
secondary
#ABD191
accent
#E14786
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903BCB

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

Preview Lab → · Contrast checker → · Palette generator →

#903BCB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva