#903AC8#903AC8

#903AC8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.212 H 308.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#903AC8
RGBrgb(144, 58, 200)
HSLhsl(276, 56%, 51%)
HSVhsv(276, 71%, 78%)
CMYKcmyk(28%, 71%, 0%, 21.6%)
CIE-LABlab(42.95, 59.44, -58.53)
CIE-LCHlch(42.95, 83.42, 315.44°)
OKLaboklab(53.46% 0.132 -0.1659)
OKLCHoklch(53.46% 0.212 308.5)
XYZxyz(23.4378, 13.1259, 55.9312)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903AC8 #72C83A
analogous
#493AC8 #903AC8 #C83AB9
triadic
#903AC8 #C8903A #3AC890
tetradic
#903AC8 #C8493A #72C83A #3AB9C8
square
#903AC8 #C8493A #72C83A #3AB9C8
split-complementary
#903AC8 #B9C83A #3AC849
monochromatic
#4C1E6A #6E2B9A #903AC8 #AB6AD5 #C69AE3

Accessibility & contrast

On white

5.79
#903AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#903AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903AC8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903AC8#FFFFFF#000000##FFFFFF
##903AC81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#1466C5
Tritanopia (blue-blind)
#875A7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #903ac8;
/* rgb */ color: rgb(144, 58, 200);
/* oklch */ color: oklch(53.5% 0.212 308.5);
Tailwind
colors: {
  custom: {
    50: '#b577da',
    500: '#903ac8',
    950: '#000000',
  },
}
SCSS
$custom: #903ac8;
$custom-light: #b577da;
$custom-dark: #000000;
JSON
{
  "hex": "#903ac8",
  "rgb": {
    "r": 144,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 276.338,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.21202,
    "h": 308.5
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#903AC8
secondary
#A8CE8F
accent
#E04884
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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