#903BC3#903BC3

#903BC3 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.206 H 309.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#903BC3
RGBrgb(144, 59, 195)
HSLhsl(278, 54%, 50%)
HSVhsv(278, 70%, 76%)
CMYKcmyk(26.2%, 69.7%, 0%, 23.5%)
CIE-LABlab(42.76, 57.91, -55.94)
CIE-LCHlch(42.76, 80.52, 315.99°)
OKLaboklab(53.21% 0.1316 -0.1583)
OKLCHoklch(53.21% 0.206 309.7)
XYZxyz(22.9139, 12.9978, 52.9209)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BC3 #6EC33B
analogous
#4C3BC3 #903BC3 #C33BB2
triadic
#903BC3 #C3903B #3BC390
tetradic
#903BC3 #C34C3B #6EC33B #3BB2C3
square
#903BC3 #C34C3B #6EC33B #3BB2C3
split-complementary
#903BC3 #B2C33B #3BC34C
monochromatic
#4B1F65 #6D2D94 #903BC3 #AB69D2 #C598E0

Accessibility & contrast

On white

5.83
#903BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#903BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BC3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BC3#FFFFFF#000000##FFFFFF
##903BC31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#2266C0
Tritanopia (blue-blind)
#89597B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #903bc3;
/* rgb */ color: rgb(144, 59, 195);
/* oklch */ color: oklch(53.2% 0.206 309.7);
Tailwind
colors: {
  custom: {
    50: '#b578d6',
    500: '#903bc3',
    950: '#000000',
  },
}
SCSS
$custom: #903bc3;
$custom-light: #b578d6;
$custom-dark: #000000;
JSON
{
  "hex": "#903bc3",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 277.5,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.20588,
    "h": 309.7
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#903BC3
secondary
#A5CC8E
accent
#DD4B82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #903BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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