#903CD4#903CD4

#903CD4 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.222 H 305.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#903CD4
RGBrgb(144, 60, 212)
HSLhsl(273, 64%, 53%)
HSVhsv(273, 72%, 83%)
CMYKcmyk(32.1%, 71.7%, 0%, 16.9%)
CIE-LABlab(44.11, 61.26, -63.58)
CIE-LCHlch(44.11, 88.29, 313.93°)
OKLaboklab(54.55% 0.1281 -0.1808)
OKLCHoklch(54.55% 0.222 305.3)
XYZxyz(24.9985, 13.9146, 63.6434)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CD4 #80D43C
analogous
#443CD4 #903CD4 #D43CCC
triadic
#903CD4 #D4903C #3CD490
tetradic
#903CD4 #D4443C #80D43C #3CCCD4
square
#903CD4 #D4443C #80D43C #3CCCD4
split-complementary
#903CD4 #CCD43C #3CD444
monochromatic
#501B7B #7026AD #903CD4 #AD6EDF #C9A0EA

Accessibility & contrast

On white

5.55
#903CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#903CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CD4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CD4#FFFFFF#000000##FFFFFF
##903CD41.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #903cd4;
/* rgb */ color: rgb(144, 60, 212);
/* oklch */ color: oklch(54.6% 0.222 305.3);
Tailwind
colors: {
  custom: {
    50: '#b679e2',
    500: '#903cd4',
    950: '#000000',
  },
}
SCSS
$custom: #903cd4;
$custom-light: #b679e2;
$custom-dark: #000000;
JSON
{
  "hex": "#903cd4",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 273.158,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.22159,
    "h": 305.3
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#903CD4
secondary
#B2D795
accent
#E7418B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #903CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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