#903DD2#903DD2

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

Color values

HEX#903DD2
RGBrgb(144, 61, 210)
HSLhsl(273, 62%, 53%)
HSVhsv(273, 71%, 82%)
CMYKcmyk(31.4%, 71%, 0%, 17.6%)
CIE-LABlab(44.12, 60.38, -62.42)
CIE-LCHlch(44.12, 86.84, 314.05°)
OKLaboklab(54.51% 0.1275 -0.1774)
OKLCHoklch(54.51% 0.218 305.7)
XYZxyz(24.8006, 13.9201, 62.3406)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DD2 #7FD23D
analogous
#453DD2 #903DD2 #D23DC9
triadic
#903DD2 #D2903D #3DD290
tetradic
#903DD2 #D2453D #7FD23D #3DC9D2
square
#903DD2 #D2453D #7FD23D #3DC9D2
split-complementary
#903DD2 #C9D23D #3DD245
monochromatic
#501C79 #7028AA #903DD2 #AC6FDE #C9A0E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##903DD2#FFFFFF#000000##FFFFFF
##903DD21.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)
#0066D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#846084
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903dd2;
/* rgb */ color: rgb(144, 61, 210);
/* oklch */ color: oklch(54.5% 0.218 305.7);
Tailwind
colors: {
  custom: {
    50: '#b679e1',
    500: '#903dd2',
    950: '#000000',
  },
}
SCSS
$custom: #903dd2;
$custom-light: #b679e1;
$custom-dark: #000000;
JSON
{
  "hex": "#903dd2",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 273.423,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.21845,
    "h": 305.7
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #903DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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