#903CCB#903CCB

#903CCB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.213 H 307.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#903CCB
RGBrgb(144, 60, 203)
HSLhsl(275, 58%, 52%)
HSVhsv(275, 70%, 80%)
CMYKcmyk(29.1%, 70.4%, 0%, 20.4%)
CIE-LABlab(43.47, 59.24, -59.44)
CIE-LCHlch(43.47, 83.92, 314.91°)
OKLaboklab(53.89% 0.1296 -0.1686)
OKLCHoklch(53.89% 0.213 307.5)
XYZxyz(23.8947, 13.4731, 57.8301)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CCB #77CB3C
analogous
#493CCB #903CCB #CB3CBF
triadic
#903CCB #CB903C #3CCB90
tetradic
#903CCB #CB493C #77CB3C #3CBFCB
square
#903CCB #CB493C #77CB3C #3CBFCB
split-complementary
#903CCB #BFCB3C #3CCB49
monochromatic
#4D1E6F #6F2A9F #903CCB #AC6CD8 #C79DE5

Accessibility & contrast

On white

5.68
#903CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#903CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CCB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CCB#FFFFFF#000000##FFFFFF
##903CCB1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#1067C8
Tritanopia (blue-blind)
#865D80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903ccb;
/* rgb */ color: rgb(144, 60, 203);
/* oklch */ color: oklch(53.9% 0.213 307.5);
Tailwind
colors: {
  custom: {
    50: '#b579dc',
    500: '#903ccb',
    950: '#000000',
  },
}
SCSS
$custom: #903ccb;
$custom-light: #b579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#903ccb",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 275.245,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53892,
    "c": 0.21262,
    "h": 307.5
  },
  "luminance": 0.13473
}

Semantic roles & 50–950 ramp

primary
#903CCB
secondary
#ACD192
accent
#E14786
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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