#903EC8#903EC8

#903EC8 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.207 H 308.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#903EC8
RGBrgb(144, 62, 200)
HSLhsl(276, 56%, 51%)
HSVhsv(276, 69%, 78%)
CMYKcmyk(28%, 69%, 0%, 21.6%)
CIE-LABlab(43.57, 57.69, -57.53)
CIE-LCHlch(43.57, 81.47, 315.08°)
OKLaboklab(53.9% 0.1279 -0.163)
OKLCHoklch(53.9% 0.207 308.1)
XYZxyz(23.6474, 13.5450, 56.0011)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EC8 #76C83E
analogous
#4B3EC8 #903EC8 #C83EBB
triadic
#903EC8 #C8903E #3EC890
tetradic
#903EC8 #C84B3E #76C83E #3EBBC8
square
#903EC8 #C84B3E #76C83E #3EBBC8
split-complementary
#903EC8 #BBC83E #3EC84B
monochromatic
#4D1F6D #6F2D9C #903EC8 #AB6ED6 #C79DE3

Accessibility & contrast

On white

5.66
#903EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#903EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EC8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EC8#FFFFFF#000000##FFFFFF
##903EC81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#1D68C5
Tritanopia (blue-blind)
#875C7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903ec8;
/* rgb */ color: rgb(144, 62, 200);
/* oklch */ color: oklch(53.9% 0.207 308.1);
Tailwind
colors: {
  custom: {
    50: '#b57ad9',
    500: '#903ec8',
    950: '#000000',
  },
}
SCSS
$custom: #903ec8;
$custom-light: #b57ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#903ec8",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 275.652,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.20718,
    "h": 308.1
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#903EC8
secondary
#ABCF92
accent
#DF4986
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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