#903BCC#903BCC

#903BCC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.215 H 307.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#903BCC
RGBrgb(144, 59, 204)
HSLhsl(275, 59%, 52%)
HSVhsv(275, 71%, 80%)
CMYKcmyk(29.4%, 71.1%, 0%, 20%)
CIE-LABlab(43.39, 59.89, -60.15)
CIE-LCHlch(43.39, 84.88, 314.88°)
OKLaboklab(53.86% 0.1304 -0.1707)
OKLCHoklch(53.86% 0.215 307.4)
XYZxyz(23.9623, 13.4172, 58.4425)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BCC #77CC3B
analogous
#483BCC #903BCC #CC3BC0
triadic
#903BCC #CC903B #3BCC90
tetradic
#903BCC #CC483B #77CC3B #3BC0CC
square
#903BCC #CC483B #77CC3B #3BC0CC
split-complementary
#903BCC #C0CC3B #3BCC48
monochromatic
#4D1D70 #6F2AA0 #903BCC #AC6CD9 #C79CE5

Accessibility & contrast

On white

5.70
#903BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#903BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BCC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BCC#FFFFFF#000000##FFFFFF
##903BCC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0867C9
Tritanopia (blue-blind)
#865C80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903bcc;
/* rgb */ color: rgb(144, 59, 204);
/* oklch */ color: oklch(53.9% 0.215 307.4);
Tailwind
colors: {
  custom: {
    50: '#b578dc',
    500: '#903bcc',
    950: '#000000',
  },
}
SCSS
$custom: #903bcc;
$custom-light: #b578dc;
$custom-dark: #000000;
JSON
{
  "hex": "#903bcc",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 275.172,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.2148,
    "h": 307.4
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #903BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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