#903ED5#903ED5

#903ED5 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.220 H 304.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#903ED5
RGBrgb(144, 62, 213)
HSLhsl(273, 64%, 54%)
HSVhsv(273, 71%, 84%)
CMYKcmyk(32.4%, 70.9%, 0%, 16.5%)
CIE-LABlab(44.49, 60.62, -63.54)
CIE-LCHlch(44.49, 87.82, 313.65°)
OKLaboklab(54.84% 0.126 -0.1807)
OKLCHoklch(54.84% 0.22 304.9)
XYZxyz(25.2318, 14.1788, 64.3454)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ED5 #83D53E
analogous
#453ED5 #903ED5 #D53ECE
triadic
#903ED5 #D5903E #3ED590
tetradic
#903ED5 #D5453E #83D53E #3ECED5
square
#903ED5 #D5453E #83D53E #3ECED5
split-complementary
#903ED5 #CED53E #3ED545
monochromatic
#511B7D #7126B0 #903ED5 #AD70E0 #CAA3EB

Accessibility & contrast

On white

5.47
#903ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#903ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903ED5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ED5#FFFFFF#000000##FFFFFF
##903ED51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#836286
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #903ed5;
/* rgb */ color: rgb(144, 62, 213);
/* oklch */ color: oklch(54.8% 0.220 304.9);
Tailwind
colors: {
  custom: {
    50: '#b67ae3',
    500: '#903ed5',
    950: '#000000',
  },
}
SCSS
$custom: #903ed5;
$custom-light: #b67ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#903ed5",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 272.583,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.22029,
    "h": 304.9
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#903ED5
secondary
#B5D897
accent
#E7418D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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