#903ED2#903ED2

#903ED2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.217 H 305.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#903ED2
RGBrgb(144, 62, 210)
HSLhsl(273, 62%, 53%)
HSVhsv(273, 70%, 82%)
CMYKcmyk(31.4%, 70.5%, 0%, 17.6%)
CIE-LABlab(44.27, 59.94, -62.17)
CIE-LCHlch(44.27, 86.36, 313.95°)
OKLaboklab(54.62% 0.1265 -0.1766)
OKLCHoklch(54.62% 0.217 305.6)
XYZxyz(24.8545, 14.0279, 62.3585)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ED2 #80D23E
analogous
#463ED2 #903ED2 #D23ECA
triadic
#903ED2 #D2903E #3ED290
tetradic
#903ED2 #D2463E #80D23E #3ECAD2
square
#903ED2 #D2463E #80D23E #3ECAD2
split-complementary
#903ED2 #CAD23E #3ED246
monochromatic
#501C79 #7028AB #903ED2 #AD70DE #C9A1E9

Accessibility & contrast

On white

5.52
#903ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#903ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903ED2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ED2#FFFFFF#000000##FFFFFF
##903ED21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#846084
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #903ed2;
/* rgb */ color: rgb(144, 62, 210);
/* oklch */ color: oklch(54.6% 0.217 305.6);
Tailwind
colors: {
  custom: {
    50: '#b67ae1',
    500: '#903ed2',
    950: '#000000',
  },
}
SCSS
$custom: #903ed2;
$custom-light: #b67ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#903ed2",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 273.243,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.21728,
    "h": 305.6
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#903ED2
secondary
#B2D696
accent
#E5438B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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