#903ED4#903ED4

#903ED4 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.219 H 305.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#903ED4
RGBrgb(144, 62, 212)
HSLhsl(273, 64%, 54%)
HSVhsv(273, 71%, 83%)
CMYKcmyk(32.1%, 70.8%, 0%, 16.9%)
CIE-LABlab(44.42, 60.39, -63.09)
CIE-LCHlch(44.42, 87.33, 313.75°)
OKLaboklab(54.77% 0.1262 -0.1793)
OKLCHoklch(54.77% 0.219 305.1)
XYZxyz(25.1052, 14.1282, 63.6790)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ED4 #82D43E
analogous
#453ED4 #903ED4 #D43ECD
triadic
#903ED4 #D4903E #3ED490
tetradic
#903ED4 #D4453E #82D43E #3ECDD4
square
#903ED4 #D4453E #82D43E #3ECDD4
split-complementary
#903ED4 #CDD43E #3ED445
monochromatic
#501C7C #7127AE #903ED4 #AD70DF #CAA2EA

Accessibility & contrast

On white

5.49
#903ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #903ED4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ED4#FFFFFF#000000##FFFFFF
##903ED41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#836185
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #903ed4;
/* rgb */ color: rgb(144, 62, 212);
/* oklch */ color: oklch(54.8% 0.219 305.1);
Tailwind
colors: {
  custom: {
    50: '#b67ae2',
    500: '#903ed4',
    950: '#000000',
  },
}
SCSS
$custom: #903ed4;
$custom-light: #b67ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#903ed4",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 272.8,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54768,
    "c": 0.21929,
    "h": 305.1
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#903ED4
secondary
#B4D797
accent
#E7418C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #903ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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