#903ED3#903ED3

#903ED3 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.218 H 305.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#903ED3
RGBrgb(144, 62, 211)
HSLhsl(273, 63%, 54%)
HSVhsv(273, 71%, 83%)
CMYKcmyk(31.8%, 70.6%, 0%, 17.3%)
CIE-LABlab(44.34, 60.17, -62.63)
CIE-LCHlch(44.34, 86.85, 313.85°)
OKLaboklab(54.69% 0.1264 -0.178)
OKLCHoklch(54.69% 0.218 305.4)
XYZxyz(24.9795, 14.0779, 63.0167)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ED3 #81D33E
analogous
#453ED3 #903ED3 #D33ECB
triadic
#903ED3 #D3903E #3ED390
tetradic
#903ED3 #D3453E #81D33E #3ECBD3
square
#903ED3 #D3453E #81D33E #3ECBD3
split-complementary
#903ED3 #CBD33E #3ED345
monochromatic
#501C7B #7127AC #903ED3 #AD70DE #C9A2EA

Accessibility & contrast

On white

5.50
#903ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#903ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903ED3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ED3#FFFFFF#000000##FFFFFF
##903ED31.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#846184
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #903ed3;
/* rgb */ color: rgb(144, 62, 211);
/* oklch */ color: oklch(54.7% 0.218 305.4);
Tailwind
colors: {
  custom: {
    50: '#b67ae1',
    500: '#903ed3',
    950: '#000000',
  },
}
SCSS
$custom: #903ed3;
$custom-light: #b67ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#903ed3",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 273.02,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.21827,
    "h": 305.4
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#903ED3
secondary
#B3D696
accent
#E6428C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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