#903FCE#903FCE

#903FCE is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.4% C 0.212 H 306.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#903FCE
RGBrgb(144, 63, 206)
HSLhsl(274, 59%, 53%)
HSVhsv(274, 69%, 81%)
CMYKcmyk(30.1%, 69.4%, 0%, 19.2%)
CIE-LABlab(44.15, 58.59, -60.07)
CIE-LCHlch(44.15, 83.91, 314.29°)
OKLaboklab(54.44% 0.1261 -0.1705)
OKLCHoklch(54.44% 0.212 306.5)
XYZxyz(24.4173, 13.9408, 59.7851)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FCE #7DCE3F
analogous
#483FCE #903FCE #CE3FC4
triadic
#903FCE #CE903F #3FCE90
tetradic
#903FCE #CE483F #7DCE3F #3FC4CE
square
#903FCE #CE483F #7DCE3F #3FC4CE
split-complementary
#903FCE #C4CE3F #3FCE48
monochromatic
#4F1E75 #702AA6 #903FCE #AC70DA #C8A1E7

Accessibility & contrast

On white

5.54
#903FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#903FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FCE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FCE#FFFFFF#000000##FFFFFF
##903FCE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0E69CB
Tritanopia (blue-blind)
#855F82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903fce;
/* rgb */ color: rgb(144, 63, 206);
/* oklch */ color: oklch(54.4% 0.212 306.5);
Tailwind
colors: {
  custom: {
    50: '#b57ade',
    500: '#903fce',
    950: '#000000',
  },
}
SCSS
$custom: #903fce;
$custom-light: #b57ade;
$custom-dark: #000000;
JSON
{
  "hex": "#903fce",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 273.986,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.21203,
    "h": 306.5
  },
  "luminance": 0.13941
}

Semantic roles & 50–950 ramp

primary
#903FCE
secondary
#B0D395
accent
#E34589
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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