#903DD9#903DD9

#903DD9 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.225 H 304.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#903DD9
RGBrgb(144, 61, 217)
HSLhsl(272, 67%, 55%)
HSVhsv(272, 72%, 85%)
CMYKcmyk(33.6%, 71.9%, 0%, 14.9%)
CIE-LABlab(44.63, 61.96, -65.61)
CIE-LCHlch(44.63, 90.25, 313.36°)
OKLaboklab(55.03% 0.1263 -0.1867)
OKLCHoklch(55.03% 0.225 304.1)
XYZxyz(25.6919, 14.2766, 67.0343)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DD9 #86D93D
analogous
#423DD9 #903DD9 #D93DD4
triadic
#903DD9 #D9903D #3DD990
tetradic
#903DD9 #D9423D #86D93D #3DD4D9
square
#903DD9 #D9423D #86D93D #3DD4D9
split-complementary
#903DD9 #D4D93D #3DD942
monochromatic
#511982 #7124B5 #903DD9 #AD70E3 #CBA3ED

Accessibility & contrast

On white

5.45
#903DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#903DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DD9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DD9#FFFFFF#000000##FFFFFF
##903DD91.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#826388
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #903dd9;
/* rgb */ color: rgb(144, 61, 217);
/* oklch */ color: oklch(55.0% 0.225 304.1);
Tailwind
colors: {
  custom: {
    50: '#b67ae6',
    500: '#903dd9',
    950: '#000000',
  },
}
SCSS
$custom: #903dd9;
$custom-light: #b67ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#903dd9",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 271.923,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.22545,
    "h": 304.1
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#903DD9
secondary
#B7DA98
accent
#EA3E8E
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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