#903CCE#903CCE

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

Color values

HEX#903CCE
RGBrgb(144, 60, 206)
HSLhsl(275, 60%, 52%)
HSVhsv(275, 71%, 81%)
CMYKcmyk(30.1%, 70.9%, 0%, 19.2%)
CIE-LABlab(43.68, 59.91, -60.83)
CIE-LCHlch(43.68, 85.38, 314.56°)
OKLaboklab(54.11% 0.1291 -0.1727)
OKLCHoklch(54.11% 0.216 306.8)
XYZxyz(24.2556, 13.6175, 59.7312)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CCE #7ACE3C
analogous
#473CCE #903CCE #CE3CC3
triadic
#903CCE #CE903C #3CCE90
tetradic
#903CCE #CE473C #7ACE3C #3CC3CE
square
#903CCE #CE473C #7ACE3C #3CC3CE
split-complementary
#903CCE #C3CE3C #3CCE47
monochromatic
#4E1D73 #7029A4 #903CCE #AC6DDA #C89EE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##903CCE#FFFFFF#000000##FFFFFF
##903CCE1.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)
#0064D2
Deuteranopia (green-blind)
#0268CB
Tritanopia (blue-blind)
#855E81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903cce;
/* rgb */ color: rgb(144, 60, 206);
/* oklch */ color: oklch(54.1% 0.216 306.8);
Tailwind
colors: {
  custom: {
    50: '#b679de',
    500: '#903cce',
    950: '#000000',
  },
}
SCSS
$custom: #903cce;
$custom-light: #b679de;
$custom-dark: #000000;
JSON
{
  "hex": "#903cce",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 274.521,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.21562,
    "h": 306.8
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#903CCE
secondary
#AED393
accent
#E34588
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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