#903BD8#903BD8

#903BD8 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.227 H 304.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#903BD8
RGBrgb(144, 59, 216)
HSLhsl(272, 67%, 54%)
HSVhsv(272, 73%, 85%)
CMYKcmyk(33.3%, 72.7%, 0%, 15.3%)
CIE-LABlab(44.25, 62.58, -65.64)
CIE-LCHlch(44.25, 90.70, 313.63°)
OKLaboklab(54.75% 0.1284 -0.1868)
OKLCHoklch(54.75% 0.227 304.5)
XYZxyz(25.4574, 14.0152, 66.3165)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903BD8 #83D83B
analogous
#423BD8 #903BD8 #D83BD2
triadic
#903BD8 #D8903B #3BD890
tetradic
#903BD8 #D8423B #83D83B #3BD2D8
square
#903BD8 #D8423B #83D83B #3BD2D8
split-complementary
#903BD8 #D2D83B #3BD842
monochromatic
#51197F #7123B2 #903BD8 #AD6EE2 #CAA1EC

Accessibility & contrast

On white

5.52
#903BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#903BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903BD8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903BD8#FFFFFF#000000##FFFFFF
##903BD81.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#826186
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #903bd8;
/* rgb */ color: rgb(144, 59, 216);
/* oklch */ color: oklch(54.7% 0.227 304.5);
Tailwind
colors: {
  custom: {
    50: '#b679e5',
    500: '#903bd8',
    950: '#000000',
  },
}
SCSS
$custom: #903bd8;
$custom-light: #b679e5;
$custom-dark: #000000;
JSON
{
  "hex": "#903bd8",
  "rgb": {
    "r": 144,
    "g": 59,
    "b": 216
  },
  "hsl": {
    "h": 272.484,
    "s": 66.809,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.22668,
    "h": 304.5
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#903BD8
secondary
#B5D996
accent
#EA3E8D
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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