#903ED8#903ED8

#903ED8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.1% C 0.223 H 304.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#903ED8
RGBrgb(144, 62, 216)
HSLhsl(272, 66%, 55%)
HSVhsv(272, 71%, 85%)
CMYKcmyk(33.3%, 71.3%, 0%, 15.3%)
CIE-LABlab(44.71, 61.31, -64.91)
CIE-LCHlch(44.71, 89.28, 313.36°)
OKLaboklab(55.06% 0.1255 -0.1847)
OKLCHoklch(55.06% 0.223 304.2)
XYZxyz(25.6161, 14.3325, 66.3694)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ED8 #86D83E
analogous
#433ED8 #903ED8 #D83ED3
triadic
#903ED8 #D8903E #3ED890
tetradic
#903ED8 #D8433E #86D83E #3ED3D8
square
#903ED8 #D8433E #86D83E #3ED3D8
split-complementary
#903ED8 #D3D83E #3ED843
monochromatic
#511A81 #7124B4 #903ED8 #AD71E2 #CBA4ED

Accessibility & contrast

On white

5.43
#903ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#903ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903ED8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ED8#FFFFFF#000000##FFFFFF
##903ED81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#826387
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #903ed8;
/* rgb */ color: rgb(144, 62, 216);
/* oklch */ color: oklch(55.1% 0.223 304.2);
Tailwind
colors: {
  custom: {
    50: '#b67ae5',
    500: '#903ed8',
    950: '#000000',
  },
}
SCSS
$custom: #903ed8;
$custom-light: #b67ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#903ed8",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 271.948,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55064,
    "c": 0.22332,
    "h": 304.2
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#903ED8
secondary
#B7D998
accent
#E93E8E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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