#903ED6#903ED6

#903ED6 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.221 H 304.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#903ED6
RGBrgb(144, 62, 214)
HSLhsl(272, 65%, 54%)
HSVhsv(272, 71%, 84%)
CMYKcmyk(32.7%, 71%, 0%, 16.1%)
CIE-LABlab(44.56, 60.85, -64.00)
CIE-LCHlch(44.56, 88.31, 313.55°)
OKLaboklab(54.92% 0.1259 -0.182)
OKLCHoklch(54.92% 0.221 304.7)
XYZxyz(25.3591, 14.2297, 65.0159)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ED6 #84D63E
analogous
#443ED6 #903ED6 #D63ED0
triadic
#903ED6 #D6903E #3ED690
tetradic
#903ED6 #D6443E #84D63E #3ED0D6
square
#903ED6 #D6443E #84D63E #3ED0D6
split-complementary
#903ED6 #D0D63E #3ED644
monochromatic
#511B7F #7126B1 #903ED6 #AD70E1 #CAA3EB

Accessibility & contrast

On white

5.46
#903ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#903ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903ED6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ED6#FFFFFF#000000##FFFFFF
##903ED61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #903ed6;
/* rgb */ color: rgb(144, 62, 214);
/* oklch */ color: oklch(54.9% 0.221 304.7);
Tailwind
colors: {
  custom: {
    50: '#b67ae4',
    500: '#903ed6',
    950: '#000000',
  },
}
SCSS
$custom: #903ed6;
$custom-light: #b67ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#903ed6",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 272.368,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54916,
    "c": 0.22131,
    "h": 304.7
  },
  "luminance": 0.1423
}

Semantic roles & 50–950 ramp

primary
#903ED6
secondary
#B5D898
accent
#E8408D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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