#903FC6#903FC6

#903FC6 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.204 H 308.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#903FC6
RGBrgb(144, 63, 198)
HSLhsl(276, 54%, 51%)
HSVhsv(276, 68%, 78%)
CMYKcmyk(27.3%, 68.2%, 0%, 22.4%)
CIE-LABlab(43.60, 56.80, -56.33)
CIE-LCHlch(43.60, 79.99, 315.24°)
OKLaboklab(53.88% 0.1271 -0.1595)
OKLCHoklch(53.88% 0.204 308.5)
XYZxyz(23.4701, 13.5619, 54.7964)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FC6 #75C63F
analogous
#4C3FC6 #903FC6 #C63FB8
triadic
#903FC6 #C6903F #3FC690
tetradic
#903FC6 #C64C3F #75C63F #3FB8C6
square
#903FC6 #C64C3F #75C63F #3FB8C6
split-complementary
#903FC6 #B8C63F #3FC64C
monochromatic
#4D206B #6F2E9A #903FC6 #AB6ED4 #C79DE2

Accessibility & contrast

On white

5.66
#903FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#903FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FC6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FC6#FFFFFF#000000##FFFFFF
##903FC61.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#2368C3
Tritanopia (blue-blind)
#885C7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903fc6;
/* rgb */ color: rgb(144, 63, 198);
/* oklch */ color: oklch(53.9% 0.204 308.5);
Tailwind
colors: {
  custom: {
    50: '#b57ad8',
    500: '#903fc6',
    950: '#000000',
  },
}
SCSS
$custom: #903fc6;
$custom-light: #b57ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#903fc6",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 276,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.2039,
    "h": 308.5
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#903FC6
secondary
#AACE93
accent
#DE4A85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #903FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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