#903BD1#903BD1

#903BD1 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.220 H 306.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#903BD1
RGBrgb(144, 59, 209)
HSLhsl(274, 62%, 53%)
HSVhsv(274, 72%, 82%)
CMYKcmyk(31.1%, 71.8%, 0%, 18%)
CIE-LABlab(43.74, 61.01, -62.45)
CIE-LCHlch(43.74, 87.31, 314.33°)
OKLaboklab(54.22% 0.1296 -0.1774)
OKLCHoklch(54.22% 0.22 306.1)
XYZxyz(24.5717, 13.6609, 61.6516)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BD1 #7CD13B
analogous
#453BD1 #903BD1 #D13BC7
triadic
#903BD1 #D1903B #3BD190
tetradic
#903BD1 #D1453B #7CD13B #3BC7D1
square
#903BD1 #D1453B #7CD13B #3BC7D1
split-complementary
#903BD1 #C7D13B #3BD145
monochromatic
#4F1C76 #7027A7 #903BD1 #AC6DDD #C89EE8

Accessibility & contrast

On white

5.63
#903BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#903BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BD1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BD1#FFFFFF#000000##FFFFFF
##903BD11.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0068CE
Tritanopia (blue-blind)
#855E83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903bd1;
/* rgb */ color: rgb(144, 59, 209);
/* oklch */ color: oklch(54.2% 0.220 306.1);
Tailwind
colors: {
  custom: {
    50: '#b678e0',
    500: '#903bd1',
    950: '#000000',
  },
}
SCSS
$custom: #903bd1;
$custom-light: #b678e0;
$custom-dark: #000000;
JSON
{
  "hex": "#903bd1",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 209
  },
  "hsl": {
    "h": 274,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.21975,
    "h": 306.1
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#903BD1
secondary
#B0D493
accent
#E54389
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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