#903AC6#903AC6

#903AC6 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.210 H 309.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#903AC6
RGBrgb(144, 58, 198)
HSLhsl(277, 55%, 50%)
HSVhsv(277, 71%, 78%)
CMYKcmyk(27.3%, 70.7%, 0%, 22.4%)
CIE-LABlab(42.81, 59.00, -57.60)
CIE-LCHlch(42.81, 82.45, 315.69°)
OKLaboklab(53.32% 0.1323 -0.1632)
OKLCHoklch(53.32% 0.21 309)
XYZxyz(23.2056, 13.0330, 54.7083)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903AC6 #70C63A
analogous
#4A3AC6 #903AC6 #C63AB6
triadic
#903AC6 #C6903A #3AC690
tetradic
#903AC6 #C64A3A #70C63A #3AB6C6
square
#903AC6 #C64A3A #70C63A #3AB6C6
split-complementary
#903AC6 #B6C63A #3AC64A
monochromatic
#4B1E68 #6E2C97 #903AC6 #AB69D4 #C599E1

Accessibility & contrast

On white

5.82
#903AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#903AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903AC6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903AC6#FFFFFF#000000##FFFFFF
##903AC61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#1A66C3
Tritanopia (blue-blind)
#88597C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #903ac6;
/* rgb */ color: rgb(144, 58, 198);
/* oklch */ color: oklch(53.3% 0.210 309.0);
Tailwind
colors: {
  custom: {
    50: '#b577d8',
    500: '#903ac6',
    950: '#000000',
  },
}
SCSS
$custom: #903ac6;
$custom-light: #b577d8;
$custom-dark: #000000;
JSON
{
  "hex": "#903ac6",
  "rgb": {
    "r": 144,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 276.857,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53315,
    "c": 0.21005,
    "h": 309
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#903AC6
secondary
#A7CD8F
accent
#DE4983
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120915
muted
#817B83

Preview Lab

Preview with #903AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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