#903CBB#903CBB

#903CBB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.8% C 0.197 H 311.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#903CBB
RGBrgb(144, 60, 187)
HSLhsl(280, 51%, 48%)
HSVhsv(280, 68%, 73%)
CMYKcmyk(23%, 67.9%, 0%, 26.7%)
CIE-LABlab(42.38, 55.74, -51.87)
CIE-LCHlch(42.38, 76.14, 317.06°)
OKLaboklab(52.77% 0.1314 -0.1464)
OKLCHoklch(52.77% 0.197 311.9)
XYZxyz(22.0855, 12.7494, 48.3015)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CBB #67BB3C
analogous
#503CBB #903CBB #BB3CA6
triadic
#903CBB #BB903C #3CBB90
tetradic
#903CBB #BB503C #67BB3C #3CA6BB
square
#903CBB #BB503C #67BB3C #3CA6BB
split-complementary
#903CBB #A6BB3C #3CBB50
monochromatic
#491E5E #6C2D8D #903CBB #AB66CE #C495DD

Accessibility & contrast

On white

5.92
#903CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#903CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903CBB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CBB#FFFFFF#000000##FFFFFF
##903CBB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#8B5677
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #903cbb;
/* rgb */ color: rgb(144, 60, 187);
/* oklch */ color: oklch(52.8% 0.197 311.9);
Tailwind
colors: {
  custom: {
    50: '#b478d0',
    500: '#903cbb',
    950: '#000000',
  },
}
SCSS
$custom: #903cbb;
$custom-light: #b478d0;
$custom-dark: #000000;
JSON
{
  "hex": "#903cbb",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 279.685,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.1967,
    "h": 311.9
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#903CBB
secondary
#9FC88B
accent
#DB4D7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #903CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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