#903CC8#903CC8

#903CC8 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.210 H 308.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#903CC8
RGBrgb(144, 60, 200)
HSLhsl(276, 56%, 51%)
HSVhsv(276, 70%, 78%)
CMYKcmyk(28%, 70%, 0%, 21.6%)
CIE-LABlab(43.26, 58.58, -58.04)
CIE-LCHlch(43.26, 82.46, 315.26°)
OKLaboklab(53.68% 0.13 -0.1645)
OKLCHoklch(53.68% 0.21 308.3)
XYZxyz(23.5406, 13.3315, 55.9655)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CC8 #74C83C
analogous
#4A3CC8 #903CC8 #C83CBA
triadic
#903CC8 #C8903C #3CC890
tetradic
#903CC8 #C84A3C #74C83C #3CBAC8
square
#903CC8 #C84A3C #74C83C #3CBAC8
split-complementary
#903CC8 #BAC83C #3CC84A
monochromatic
#4D1E6B #6F2C9B #903CC8 #AB6CD5 #C69BE3

Accessibility & contrast

On white

5.73
#903CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#903CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CC8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CC8#FFFFFF#000000##FFFFFF
##903CC81.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#1967C5
Tritanopia (blue-blind)
#875B7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903cc8;
/* rgb */ color: rgb(144, 60, 200);
/* oklch */ color: oklch(53.7% 0.210 308.3);
Tailwind
colors: {
  custom: {
    50: '#b579d9',
    500: '#903cc8',
    950: '#000000',
  },
}
SCSS
$custom: #903cc8;
$custom-light: #b579d9;
$custom-dark: #000000;
JSON
{
  "hex": "#903cc8",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 276,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.20963,
    "h": 308.3
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#903CC8
secondary
#AACF91
accent
#DF4985
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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