#903CC2#903CC2

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

Color values

HEX#903CC2
RGBrgb(144, 60, 194)
HSLhsl(278, 53%, 50%)
HSVhsv(278, 69%, 76%)
CMYKcmyk(25.8%, 69.1%, 0%, 23.9%)
CIE-LABlab(42.85, 57.26, -55.21)
CIE-LCHlch(42.85, 79.54, 316.04°)
OKLaboklab(53.25% 0.1307 -0.1562)
OKLCHoklch(53.25% 0.204 309.9)
XYZxyz(22.8532, 13.0565, 52.3448)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CC2 #6EC23C
analogous
#4D3CC2 #903CC2 #C23CB1
triadic
#903CC2 #C2903C #3CC290
tetradic
#903CC2 #C24D3C #6EC23C #3CB1C2
square
#903CC2 #C24D3C #6EC23C #3CB1C2
split-complementary
#903CC2 #B1C23C #3CC24D
monochromatic
#4B1F65 #6D2E93 #903CC2 #AB6AD1 #C599DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##903CC2#FFFFFF#000000##FFFFFF
##903CC21.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)
#0062C6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#89597B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #903cc2;
/* rgb */ color: rgb(144, 60, 194);
/* oklch */ color: oklch(53.3% 0.204 309.9);
Tailwind
colors: {
  custom: {
    50: '#b578d5',
    500: '#903cc2',
    950: '#000000',
  },
}
SCSS
$custom: #903cc2;
$custom-light: #b578d5;
$custom-dark: #000000;
JSON
{
  "hex": "#903cc2",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 277.612,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.20366,
    "h": 309.9
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#903CC2
secondary
#A5CB8F
accent
#DC4C82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #903CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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