#903DC4#903DC4

#903DC4 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.204 H 309.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#903DC4
RGBrgb(144, 61, 196)
HSLhsl(277, 53%, 50%)
HSVhsv(277, 69%, 77%)
CMYKcmyk(26.5%, 68.9%, 0%, 23.1%)
CIE-LABlab(43.14, 57.25, -55.90)
CIE-LCHlch(43.14, 80.02, 315.68°)
OKLaboklab(53.51% 0.1294 -0.1582)
OKLCHoklch(53.51% 0.204 309.3)
XYZxyz(23.1322, 13.2527, 53.5533)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DC4 #71C43D
analogous
#4C3DC4 #903DC4 #C43DB4
triadic
#903DC4 #C4903D #3DC490
tetradic
#903DC4 #C44C3D #71C43D #3DB4C4
square
#903DC4 #C44C3D #71C43D #3DB4C4
split-complementary
#903DC4 #B4C43D #3DC44C
monochromatic
#4C1F67 #6E2E96 #903DC4 #AB6CD2 #C69BE1

Accessibility & contrast

On white

5.75
#903DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#903DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DC4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DC4#FFFFFF#000000##FFFFFF
##903DC41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#2367C1
Tritanopia (blue-blind)
#885A7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903dc4;
/* rgb */ color: rgb(144, 61, 196);
/* oklch */ color: oklch(53.5% 0.204 309.3);
Tailwind
colors: {
  custom: {
    50: '#b579d7',
    500: '#903dc4',
    950: '#000000',
  },
}
SCSS
$custom: #903dc4;
$custom-light: #b579d7;
$custom-dark: #000000;
JSON
{
  "hex": "#903dc4",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 276.889,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.2044,
    "h": 309.3
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#903DC4
secondary
#A7CD90
accent
#DD4B83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #903DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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