#903DD7#903DD7

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

Color values

HEX#903DD7
RGBrgb(144, 61, 215)
HSLhsl(272, 66%, 54%)
HSVhsv(272, 72%, 84%)
CMYKcmyk(33%, 71.6%, 0%, 15.7%)
CIE-LABlab(44.48, 61.51, -64.70)
CIE-LCHlch(44.48, 89.27, 313.55°)
OKLaboklab(54.88% 0.1267 -0.1841)
OKLCHoklch(54.88% 0.223 304.5)
XYZxyz(25.4333, 14.1732, 65.6726)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DD7 #84D73D
analogous
#433DD7 #903DD7 #D73DD1
triadic
#903DD7 #D7903D #3DD790
tetradic
#903DD7 #D7433D #84D73D #3DD1D7
square
#903DD7 #D7433D #84D73D #3DD1D7
split-complementary
#903DD7 #D1D73D #3DD743
monochromatic
#511A7F #7125B2 #903DD7 #AD70E1 #CAA2EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##903DD7#FFFFFF#000000##FFFFFF
##903DD71.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)
#0067DB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#826286
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #903dd7;
/* rgb */ color: rgb(144, 61, 215);
/* oklch */ color: oklch(54.9% 0.223 304.5);
Tailwind
colors: {
  custom: {
    50: '#b67ae4',
    500: '#903dd7',
    950: '#000000',
  },
}
SCSS
$custom: #903dd7;
$custom-light: #b67ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#903dd7",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 272.338,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.22345,
    "h": 304.5
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#903DD7
secondary
#B5D997
accent
#E93F8D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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