#903DCB#903DCB

#903DCB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.211 H 307.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#903DCB
RGBrgb(144, 61, 203)
HSLhsl(275, 58%, 52%)
HSVhsv(275, 70%, 80%)
CMYKcmyk(29.1%, 70%, 0%, 20.4%)
CIE-LABlab(43.62, 58.80, -59.19)
CIE-LCHlch(43.62, 83.43, 314.81°)
OKLaboklab(54% 0.1286 -0.1679)
OKLCHoklch(54% 0.211 307.4)
XYZxyz(23.9476, 13.5789, 57.8478)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DCB #78CB3D
analogous
#493DCB #903DCB #CB3DBF
triadic
#903DCB #CB903D #3DCB90
tetradic
#903DCB #CB493D #78CB3D #3DBFCB
square
#903DCB #CB493D #78CB3D #3DBFCB
split-complementary
#903DCB #BFCB3D #3DCB49
monochromatic
#4E1E70 #6F2BA0 #903DCB #AC6DD8 #C79EE5

Accessibility & contrast

On white

5.65
#903DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#903DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DCB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DCB#FFFFFF#000000##FFFFFF
##903DCB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#1368C8
Tritanopia (blue-blind)
#865D80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903dcb;
/* rgb */ color: rgb(144, 61, 203);
/* oklch */ color: oklch(54.0% 0.211 307.4);
Tailwind
colors: {
  custom: {
    50: '#b579dc',
    500: '#903dcb',
    950: '#000000',
  },
}
SCSS
$custom: #903dcb;
$custom-light: #b579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#903dcb",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 275.07,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.21143,
    "h": 307.4
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#903DCB
secondary
#ADD193
accent
#E14787
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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