#903CD5#903CD5

#903CD5 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.223 H 305.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#903CD5
RGBrgb(144, 60, 213)
HSLhsl(273, 65%, 54%)
HSVhsv(273, 72%, 84%)
CMYKcmyk(32.4%, 71.8%, 0%, 16.5%)
CIE-LABlab(44.18, 61.48, -64.04)
CIE-LCHlch(44.18, 88.78, 313.83°)
OKLaboklab(54.63% 0.128 -0.1821)
OKLCHoklch(54.63% 0.223 305.1)
XYZxyz(25.1250, 13.9653, 64.3098)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CD5 #81D53C
analogous
#433CD5 #903CD5 #D53CCE
triadic
#903CD5 #D5903C #3CD590
tetradic
#903CD5 #D5433C #81D53C #3CCED5
square
#903CD5 #D5433C #81D53C #3CCED5
split-complementary
#903CD5 #CED53C #3CD543
monochromatic
#501B7C #7126AE #903CD5 #AD6EE0 #C9A1EB

Accessibility & contrast

On white

5.54
#903CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#903CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CD5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CD5#FFFFFF#000000##FFFFFF
##903CD51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#836185
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903cd5;
/* rgb */ color: rgb(144, 60, 213);
/* oklch */ color: oklch(54.6% 0.223 305.1);
Tailwind
colors: {
  custom: {
    50: '#b679e3',
    500: '#903cd5',
    950: '#000000',
  },
}
SCSS
$custom: #903cd5;
$custom-light: #b679e3;
$custom-dark: #000000;
JSON
{
  "hex": "#903cd5",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 272.941,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54625,
    "c": 0.22259,
    "h": 305.1
  },
  "luminance": 0.13965
}

Semantic roles & 50–950 ramp

primary
#903CD5
secondary
#B3D796
accent
#E8408C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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