#903CC7#903CC7

#903CC7 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.209 H 308.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#903CC7
RGBrgb(144, 60, 199)
HSLhsl(276, 55%, 51%)
HSVhsv(276, 70%, 78%)
CMYKcmyk(27.6%, 69.8%, 0%, 22%)
CIE-LABlab(43.19, 58.35, -57.57)
CIE-LCHlch(43.19, 81.97, 315.39°)
OKLaboklab(53.61% 0.1301 -0.1631)
OKLCHoklch(53.61% 0.209 308.6)
XYZxyz(23.4242, 13.2849, 55.3520)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CC7 #73C73C
analogous
#4A3CC7 #903CC7 #C73CB8
triadic
#903CC7 #C7903C #3CC790
tetradic
#903CC7 #C74A3C #73C73C #3CB8C7
square
#903CC7 #C74A3C #73C73C #3CB8C7
split-complementary
#903CC7 #B8C73C #3CC74A
monochromatic
#4C1E6A #6E2C9A #903CC7 #AB6CD5 #C69BE2

Accessibility & contrast

On white

5.74
#903CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#903CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CC7#FFFFFF#000000##FFFFFF
##903CC71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#1B67C4
Tritanopia (blue-blind)
#885B7D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903cc7;
/* rgb */ color: rgb(144, 60, 199);
/* oklch */ color: oklch(53.6% 0.209 308.6);
Tailwind
colors: {
  custom: {
    50: '#b578d9',
    500: '#903cc7',
    950: '#000000',
  },
}
SCSS
$custom: #903cc7;
$custom-light: #b578d9;
$custom-dark: #000000;
JSON
{
  "hex": "#903cc7",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 276.259,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.20863,
    "h": 308.6
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#903CC7
secondary
#A9CE91
accent
#DF4984
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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