#903BC2#903BC2

#903BC2 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.205 H 310.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#903BC2
RGBrgb(144, 59, 194)
HSLhsl(278, 53%, 50%)
HSVhsv(278, 70%, 76%)
CMYKcmyk(25.8%, 69.6%, 0%, 23.9%)
CIE-LABlab(42.69, 57.70, -55.47)
CIE-LCHlch(42.69, 80.03, 316.13°)
OKLaboklab(53.14% 0.1318 -0.1569)
OKLCHoklch(53.14% 0.205 310)
XYZxyz(22.8013, 12.9527, 52.3275)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BC2 #6DC23B
analogous
#4D3BC2 #903BC2 #C23BB1
triadic
#903BC2 #C2903B #3BC290
tetradic
#903BC2 #C24D3B #6DC23B #3BB1C2
square
#903BC2 #C24D3B #6DC23B #3BB1C2
split-complementary
#903BC2 #B1C23B #3BC24D
monochromatic
#4A1E64 #6D2D93 #903BC2 #AB69D1 #C598E0

Accessibility & contrast

On white

5.85
#903BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#903BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BC2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BC2#FFFFFF#000000##FFFFFF
##903BC21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2366BF
Tritanopia (blue-blind)
#89587A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #903bc2;
/* rgb */ color: rgb(144, 59, 194);
/* oklch */ color: oklch(53.1% 0.205 310.0);
Tailwind
colors: {
  custom: {
    50: '#b578d5',
    500: '#903bc2',
    950: '#000000',
  },
}
SCSS
$custom: #903bc2;
$custom-light: #b578d5;
$custom-dark: #000000;
JSON
{
  "hex": "#903bc2",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 277.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.20489,
    "h": 310
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#903BC2
secondary
#A4CB8E
accent
#DD4B81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #903BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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