#903CCD#903CCD

#903CCD is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.215 H 307.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#903CCD
RGBrgb(144, 60, 205)
HSLhsl(275, 59%, 52%)
HSVhsv(275, 71%, 80%)
CMYKcmyk(29.8%, 70.7%, 0%, 19.6%)
CIE-LABlab(43.61, 59.69, -60.37)
CIE-LCHlch(43.61, 84.89, 314.68°)
OKLaboklab(54.04% 0.1293 -0.1713)
OKLCHoklch(54.04% 0.215 307)
XYZxyz(24.1346, 13.5691, 59.0934)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CCD #79CD3C
analogous
#483CCD #903CCD #CD3CC1
triadic
#903CCD #CD903C #3CCD90
tetradic
#903CCD #CD483C #79CD3C #3CC1CD
square
#903CCD #CD483C #79CD3C #3CC1CD
split-complementary
#903CCD #C1CD3C #3CCD48
monochromatic
#4E1D71 #6F2AA2 #903CCD #AC6DD9 #C79DE6

Accessibility & contrast

On white

5.65
#903CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#903CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CCD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CCD#FFFFFF#000000##FFFFFF
##903CCD1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0768CA
Tritanopia (blue-blind)
#865D81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903ccd;
/* rgb */ color: rgb(144, 60, 205);
/* oklch */ color: oklch(54.0% 0.215 307.0);
Tailwind
colors: {
  custom: {
    50: '#b579dd',
    500: '#903ccd',
    950: '#000000',
  },
}
SCSS
$custom: #903ccd;
$custom-light: #b579dd;
$custom-dark: #000000;
JSON
{
  "hex": "#903ccd",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 274.759,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54036,
    "c": 0.21462,
    "h": 307
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#903CCD
secondary
#ADD293
accent
#E24587
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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