#903FC4#903FC4

#903FC4 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.202 H 309.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#903FC4
RGBrgb(144, 63, 196)
HSLhsl(277, 53%, 51%)
HSVhsv(277, 68%, 77%)
CMYKcmyk(26.5%, 67.9%, 0%, 23.1%)
CIE-LABlab(43.46, 56.35, -55.38)
CIE-LCHlch(43.46, 79.01, 315.50°)
OKLaboklab(53.74% 0.1273 -0.1567)
OKLCHoklch(53.74% 0.202 309.1)
XYZxyz(23.2409, 13.4702, 53.5895)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FC4 #73C43F
analogous
#4D3FC4 #903FC4 #C43FB6
triadic
#903FC4 #C4903F #3FC490
tetradic
#903FC4 #C44D3F #73C43F #3FB6C4
square
#903FC4 #C44D3F #73C43F #3FB6C4
split-complementary
#903FC4 #B6C43F #3FC44D
monochromatic
#4C2068 #6E2E97 #903FC4 #AB6ED2 #C69DE1

Accessibility & contrast

On white

5.68
#903FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#903FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FC4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FC4#FFFFFF#000000##FFFFFF
##903FC41.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#2668C1
Tritanopia (blue-blind)
#885C7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903fc4;
/* rgb */ color: rgb(144, 63, 196);
/* oklch */ color: oklch(53.7% 0.202 309.1);
Tailwind
colors: {
  custom: {
    50: '#b57ad7',
    500: '#903fc4',
    950: '#000000',
  },
}
SCSS
$custom: #903fc4;
$custom-light: #b57ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#903fc4",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 276.541,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.20187,
    "h": 309.1
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#903FC4
secondary
#A9CD92
accent
#DC4B84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #903FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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