#903DCE#903DCE

#903DCE is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.214 H 306.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#903DCE
RGBrgb(144, 61, 206)
HSLhsl(274, 60%, 52%)
HSVhsv(274, 70%, 81%)
CMYKcmyk(30.1%, 70.4%, 0%, 19.2%)
CIE-LABlab(43.83, 59.48, -60.58)
CIE-LCHlch(43.83, 84.89, 314.47°)
OKLaboklab(54.22% 0.1281 -0.1719)
OKLCHoklch(54.22% 0.214 306.7)
XYZxyz(24.3085, 13.7233, 59.7488)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903DCE #7BCE3D
analogous
#483DCE #903DCE #CE3DC3
triadic
#903DCE #CE903D #3DCE90
tetradic
#903DCE #CE483D #7BCE3D #3DC3CE
square
#903DCE #CE483D #7BCE3D #3DC3CE
split-complementary
#903DCE #C3CE3D #3DCE48
monochromatic
#4F1D73 #7029A4 #903DCE #AC6EDA #C89FE7

Accessibility & contrast

On white

5.61
#903DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#903DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903DCE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903DCE#FFFFFF#000000##FFFFFF
##903DCE1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0668CB
Tritanopia (blue-blind)
#855E81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #903dce;
/* rgb */ color: rgb(144, 61, 206);
/* oklch */ color: oklch(54.2% 0.214 306.7);
Tailwind
colors: {
  custom: {
    50: '#b579de',
    500: '#903dce',
    950: '#000000',
  },
}
SCSS
$custom: #903dce;
$custom-light: #b579de;
$custom-dark: #000000;
JSON
{
  "hex": "#903dce",
  "rgb": {
    "r": 144,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 274.345,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.21443,
    "h": 306.7
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

primary
#903DCE
secondary
#AFD394
accent
#E34588
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #903DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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