#903BC1#903BC1

#903BC1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.204 H 310.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#903BC1
RGBrgb(144, 59, 193)
HSLhsl(278, 53%, 49%)
HSVhsv(278, 69%, 76%)
CMYKcmyk(25.4%, 69.4%, 0%, 24.3%)
CIE-LABlab(42.62, 57.48, -54.99)
CIE-LCHlch(42.62, 79.55, 316.27°)
OKLaboklab(53.07% 0.1319 -0.1555)
OKLCHoklch(53.07% 0.204 310.3)
XYZxyz(22.6893, 12.9080, 51.7380)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BC1 #6CC13B
analogous
#4D3BC1 #903BC1 #C13BAF
triadic
#903BC1 #C1903B #3BC190
tetradic
#903BC1 #C14D3B #6CC13B #3BAFC1
square
#903BC1 #C14D3B #6CC13B #3BAFC1
split-complementary
#903BC1 #AFC13B #3BC14D
monochromatic
#4A1E63 #6D2D92 #903BC1 #AB68D1 #C597DF

Accessibility & contrast

On white

5.86
#903BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#903BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BC1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BC1#FFFFFF#000000##FFFFFF
##903BC11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#2566BE
Tritanopia (blue-blind)
#89587A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #903bc1;
/* rgb */ color: rgb(144, 59, 193);
/* oklch */ color: oklch(53.1% 0.204 310.3);
Tailwind
colors: {
  custom: {
    50: '#b578d4',
    500: '#903bc1',
    950: '#000000',
  },
}
SCSS
$custom: #903bc1;
$custom-light: #b578d4;
$custom-dark: #000000;
JSON
{
  "hex": "#903bc1",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 278.06,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53072,
    "c": 0.20391,
    "h": 310.3
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

primary
#903BC1
secondary
#A4CB8D
accent
#DD4B80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #903BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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