#903BCA#903BCA

#903BCA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.213 H 307.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#903BCA
RGBrgb(144, 59, 202)
HSLhsl(276, 57%, 51%)
HSVhsv(276, 71%, 79%)
CMYKcmyk(28.7%, 70.8%, 0%, 20.8%)
CIE-LABlab(43.24, 59.45, -59.22)
CIE-LCHlch(43.24, 83.91, 315.11°)
OKLaboklab(53.71% 0.1307 -0.1679)
OKLCHoklch(53.71% 0.213 307.9)
XYZxyz(23.7240, 13.3218, 57.1872)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BCA #75CA3B
analogous
#483BCA #903BCA #CA3BBD
triadic
#903BCA #CA903B #3BCA90
tetradic
#903BCA #CA483B #75CA3B #3BBDCA
square
#903BCA #CA483B #75CA3B #3BBDCA
split-complementary
#903BCA #BDCA3B #3BCA48
monochromatic
#4D1E6D #6F2B9D #903BCA #AB6BD7 #C79BE4

Accessibility & contrast

On white

5.73
#903BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#903BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BCA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BCA#FFFFFF#000000##FFFFFF
##903BCA1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#1167C7
Tritanopia (blue-blind)
#875C7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903bca;
/* rgb */ color: rgb(144, 59, 202);
/* oklch */ color: oklch(53.7% 0.213 307.9);
Tailwind
colors: {
  custom: {
    50: '#b578db',
    500: '#903bca',
    950: '#000000',
  },
}
SCSS
$custom: #903bca;
$custom-light: #b578db;
$custom-dark: #000000;
JSON
{
  "hex": "#903bca",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 275.664,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.21281,
    "h": 307.9
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#903BCA
secondary
#AAD091
accent
#E14785
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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