#903CCC#903CCC

#903CCC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.214 H 307.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#903CCC
RGBrgb(144, 60, 204)
HSLhsl(275, 59%, 52%)
HSVhsv(275, 71%, 80%)
CMYKcmyk(29.4%, 70.6%, 0%, 20%)
CIE-LABlab(43.54, 59.46, -59.90)
CIE-LCHlch(43.54, 84.40, 314.79°)
OKLaboklab(53.96% 0.1294 -0.1699)
OKLCHoklch(53.96% 0.214 307.3)
XYZxyz(24.0142, 13.5210, 58.4598)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CCC #78CC3C
analogous
#483CCC #903CCC #CC3CC0
triadic
#903CCC #CC903C #3CCC90
tetradic
#903CCC #CC483C #78CC3C #3CC0CC
square
#903CCC #CC483C #78CC3C #3CC0CC
split-complementary
#903CCC #C0CC3C #3CCC48
monochromatic
#4E1D70 #6F2AA1 #903CCC #AC6DD9 #C79DE5

Accessibility & contrast

On white

5.67
#903CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#903CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CCC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CCC#FFFFFF#000000##FFFFFF
##903CCC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0C68C9
Tritanopia (blue-blind)
#865D80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903ccc;
/* rgb */ color: rgb(144, 60, 204);
/* oklch */ color: oklch(54.0% 0.214 307.3);
Tailwind
colors: {
  custom: {
    50: '#b579dc',
    500: '#903ccc',
    950: '#000000',
  },
}
SCSS
$custom: #903ccc;
$custom-light: #b579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#903ccc",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 275,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.21362,
    "h": 307.3
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#903CCC
secondary
#ADD192
accent
#E24687
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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