#903DC7#903DC7

#903DC7 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.207 H 308.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#903DC7
RGBrgb(144, 61, 199)
HSLhsl(276, 55%, 51%)
HSVhsv(276, 69%, 78%)
CMYKcmyk(27.6%, 69.3%, 0%, 22%)
CIE-LABlab(43.35, 57.91, -57.32)
CIE-LCHlch(43.35, 81.48, 315.30°)
OKLaboklab(53.72% 0.1291 -0.1624)
OKLCHoklch(53.72% 0.207 308.5)
XYZxyz(23.4770, 13.3907, 55.3696)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DC7 #74C73D
analogous
#4B3DC7 #903DC7 #C73DB9
triadic
#903DC7 #C7903D #3DC790
tetradic
#903DC7 #C74B3D #74C73D #3DB9C7
square
#903DC7 #C74B3D #74C73D #3DB9C7
split-complementary
#903DC7 #B9C73D #3DC74B
monochromatic
#4D1F6B #6F2D9A #903DC7 #AB6CD5 #C69CE2

Accessibility & contrast

On white

5.71
#903DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#903DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DC7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DC7#FFFFFF#000000##FFFFFF
##903DC71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #903dc7;
/* rgb */ color: rgb(144, 61, 199);
/* oklch */ color: oklch(53.7% 0.207 308.5);
Tailwind
colors: {
  custom: {
    50: '#b579d9',
    500: '#903dc7',
    950: '#000000',
  },
}
SCSS
$custom: #903dc7;
$custom-light: #b579d9;
$custom-dark: #000000;
JSON
{
  "hex": "#903dc7",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 276.087,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.20741,
    "h": 308.5
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #903DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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