#903CD3#903CD3

#903CD3 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.221 H 305.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#903CD3
RGBrgb(144, 60, 211)
HSLhsl(273, 63%, 53%)
HSVhsv(273, 72%, 83%)
CMYKcmyk(31.8%, 71.6%, 0%, 17.3%)
CIE-LABlab(44.04, 61.03, -63.13)
CIE-LCHlch(44.04, 87.81, 314.03°)
OKLaboklab(54.48% 0.1283 -0.1794)
OKLCHoklch(54.48% 0.221 305.6)
XYZxyz(24.8727, 13.8643, 62.9811)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CD3 #7FD33C
analogous
#443CD3 #903CD3 #D33CCB
triadic
#903CD3 #D3903C #3CD390
tetradic
#903CD3 #D3443C #7FD33C #3CCBD3
square
#903CD3 #D3443C #7FD33C #3CCBD3
split-complementary
#903CD3 #CBD33C #3CD344
monochromatic
#501B79 #7027AB #903CD3 #AC6EDE #C9A0EA

Accessibility & contrast

On white

5.57
#903CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#903CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CD3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CD3#FFFFFF#000000##FFFFFF
##903CD31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#846084
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903cd3;
/* rgb */ color: rgb(144, 60, 211);
/* oklch */ color: oklch(54.5% 0.221 305.6);
Tailwind
colors: {
  custom: {
    50: '#b679e1',
    500: '#903cd3',
    950: '#000000',
  },
}
SCSS
$custom: #903cd3;
$custom-light: #b679e1;
$custom-dark: #000000;
JSON
{
  "hex": "#903cd3",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 273.377,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54476,
    "c": 0.22059,
    "h": 305.6
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#903CD3
secondary
#B2D695
accent
#E6428B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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