#903CD9#903CD9

#903CD9 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.227 H 304.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#903CD9
RGBrgb(144, 60, 217)
HSLhsl(272, 67%, 54%)
HSVhsv(272, 72%, 85%)
CMYKcmyk(33.6%, 72.4%, 0%, 14.9%)
CIE-LABlab(44.48, 62.39, -65.86)
CIE-LCHlch(44.48, 90.72, 313.45°)
OKLaboklab(54.93% 0.1273 -0.1875)
OKLCHoklch(54.93% 0.227 304.2)
XYZxyz(25.6390, 14.1708, 67.0167)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CD9 #85D93C
analogous
#423CD9 #903CD9 #D93CD4
triadic
#903CD9 #D9903C #3CD990
tetradic
#903CD9 #D9423C #85D93C #3CD4D9
square
#903CD9 #D9423C #85D93C #3CD4D9
split-complementary
#903CD9 #D4D93C #3CD942
monochromatic
#511981 #7123B5 #903CD9 #AD6FE3 #CAA2ED

Accessibility & contrast

On white

5.48
#903CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#903CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CD9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CD9#FFFFFF#000000##FFFFFF
##903CD91.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#826287
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #903cd9;
/* rgb */ color: rgb(144, 60, 217);
/* oklch */ color: oklch(54.9% 0.227 304.2);
Tailwind
colors: {
  custom: {
    50: '#b679e6',
    500: '#903cd9',
    950: '#000000',
  },
}
SCSS
$custom: #903cd9;
$custom-light: #b679e6;
$custom-dark: #000000;
JSON
{
  "hex": "#903cd9",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 272.102,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54925,
    "c": 0.22658,
    "h": 304.2
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #903CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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