#905DB2#905DB2

#905DB2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.137 H 310.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#905DB2
RGBrgb(144, 93, 178)
HSLhsl(276, 36%, 53%)
HSVhsv(276, 48%, 70%)
CMYKcmyk(19.1%, 47.8%, 0%, 30.2%)
CIE-LABlab(48.23, 36.76, -37.30)
CIE-LCHlch(48.23, 52.37, 314.59°)
OKLaboklab(56.88% 0.0885 -0.104)
OKLCHoklch(56.88% 0.137 310.4)
XYZxyz(23.4504, 16.9727, 44.1516)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DB2 #7FB25D
analogous
#655DB2 #905DB2 #B25DA9
triadic
#905DB2 #B2905D #5DB290
tetradic
#905DB2 #B2655D #7FB25D #5DA9B2
square
#905DB2 #B2655D #7FB25D #5DA9B2
split-complementary
#905DB2 #A9B25D #5DB265
monochromatic
#503065 #70448E #905DB2 #AC86C6 #C9B0D9

Accessibility & contrast

On white

4.78
#905DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#905DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905DB2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DB2#FFFFFF#000000##FFFFFF
##905DB21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#5773B0
Tritanopia (blue-blind)
#8C6B7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905db2;
/* rgb */ color: rgb(144, 93, 178);
/* oklch */ color: oklch(56.9% 0.137 310.4);
Tailwind
colors: {
  custom: {
    50: '#b28cc9',
    500: '#905db2',
    950: '#000000',
  },
}
SCSS
$custom: #905db2;
$custom-light: #b28cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#905db2",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 276,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56881,
    "c": 0.13653,
    "h": 310.4
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#905DB2
secondary
#B2C8A3
accent
#CC5C89
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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