#903FC7#903FC7

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

Color values

HEX#903FC7
RGBrgb(144, 63, 199)
HSLhsl(276, 55%, 51%)
HSVhsv(276, 68%, 78%)
CMYKcmyk(27.6%, 68.3%, 0%, 22%)
CIE-LABlab(43.67, 57.02, -56.80)
CIE-LCHlch(43.67, 80.48, 315.11°)
OKLaboklab(53.95% 0.127 -0.1609)
OKLCHoklch(53.95% 0.205 308.3)
XYZxyz(23.5858, 13.6082, 55.4059)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FC7 #76C73F
analogous
#4C3FC7 #903FC7 #C73FBA
triadic
#903FC7 #C7903F #3FC790
tetradic
#903FC7 #C74C3F #76C73F #3FBAC7
square
#903FC7 #C74C3F #76C73F #3FBAC7
split-complementary
#903FC7 #BAC73F #3FC74C
monochromatic
#4D206C #6F2D9B #903FC7 #AB6ED5 #C79EE3

Accessibility & contrast

On white

5.64
#903FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#903FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FC7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FC7#FFFFFF#000000##FFFFFF
##903FC71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#2168C4
Tritanopia (blue-blind)
#885D7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903fc7;
/* rgb */ color: rgb(144, 63, 199);
/* oklch */ color: oklch(53.9% 0.205 308.3);
Tailwind
colors: {
  custom: {
    50: '#b57ad9',
    500: '#903fc7',
    950: '#000000',
  },
}
SCSS
$custom: #903fc7;
$custom-light: #b57ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#903fc7",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 275.735,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.20492,
    "h": 308.3
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#903FC7
secondary
#ABCF93
accent
#DE4A86
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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