#905DB7#905DB7

#905DB7 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.143 H 308.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#905DB7
RGBrgb(144, 93, 183)
HSLhsl(274, 38%, 54%)
HSVhsv(274, 49%, 72%)
CMYKcmyk(21.3%, 49.2%, 0%, 28.2%)
CIE-LABlab(48.48, 37.92, -39.81)
CIE-LCHlch(48.48, 54.98, 313.61°)
OKLaboklab(57.16% 0.0891 -0.1112)
OKLCHoklch(57.16% 0.143 308.7)
XYZxyz(23.9615, 17.1772, 46.8438)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DB7 #84B75D
analogous
#635DB7 #905DB7 #B75DB1
triadic
#905DB7 #B7905D #5DB790
tetradic
#905DB7 #B7635D #84B75D #5DB1B7
square
#905DB7 #B7635D #84B75D #5DB1B7
split-complementary
#905DB7 #B1B75D #5DB763
monochromatic
#512F6A #714295 #905DB7 #AD87CA #CAB2DD

Accessibility & contrast

On white

4.73
#905DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#905DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905DB7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DB7#FFFFFF#000000##FFFFFF
##905DB71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#5474B5
Tritanopia (blue-blind)
#8B6C81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905db7;
/* rgb */ color: rgb(144, 93, 183);
/* oklch */ color: oklch(57.2% 0.143 308.7);
Tailwind
colors: {
  custom: {
    50: '#b28ccd',
    500: '#905db7',
    950: '#000000',
  },
}
SCSS
$custom: #905db7;
$custom-light: #b28ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#905db7",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 274,
    "s": 38.462,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57156,
    "c": 0.14256,
    "h": 308.7
  },
  "luminance": 0.17177
}

Semantic roles & 50–950 ramp

primary
#905DB7
secondary
#B5CBA5
accent
#CE598C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #905DB7

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

Preview Lab → · Contrast checker → · Palette generator →

#905DB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva