#903CBE#903CBE

#903CBE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 53.0% C 0.200 H 311.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#903CBE
RGBrgb(144, 60, 190)
HSLhsl(279, 52%, 49%)
HSVhsv(279, 68%, 75%)
CMYKcmyk(24.2%, 68.4%, 0%, 25.5%)
CIE-LABlab(42.58, 56.39, -53.31)
CIE-LCHlch(42.58, 77.60, 316.61°)
OKLaboklab(52.98% 0.1311 -0.1506)
OKLCHoklch(52.98% 0.2 311)
XYZxyz(22.4100, 12.8792, 50.0106)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903CBE #6ABE3C
analogous
#4F3CBE #903CBE #BE3CAB
triadic
#903CBE #BE903C #3CBE90
tetradic
#903CBE #BE4F3C #6ABE3C #3CABBE
square
#903CBE #BE4F3C #6ABE3C #3CABBE
split-complementary
#903CBE #ABBE3C #3CBE4F
monochromatic
#491F61 #6D2D8F #903CBE #AB68CF #C596DE

Accessibility & contrast

On white

5.87
#903CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #903CBE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903CBE#FFFFFF#000000##FFFFFF
##903CBE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2B66BB
Tritanopia (blue-blind)
#8A5778
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #903cbe;
/* rgb */ color: rgb(144, 60, 190);
/* oklch */ color: oklch(53.0% 0.200 311.0);
Tailwind
colors: {
  custom: {
    50: '#b578d2',
    500: '#903cbe',
    950: '#000000',
  },
}
SCSS
$custom: #903cbe;
$custom-light: #b578d2;
$custom-dark: #000000;
JSON
{
  "hex": "#903cbe",
  "rgb": {
    "r": 144,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 278.769,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.19967,
    "h": 311
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#903CBE
secondary
#A2CA8C
accent
#DB4C7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #903CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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