#905BD6#905BD6

#905BD6 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.183 H 300.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#905BD6
RGBrgb(144, 91, 214)
HSLhsl(266, 60%, 60%)
HSVhsv(266, 57%, 84%)
CMYKcmyk(32.7%, 57.5%, 0%, 16.1%)
CIE-LABlab(49.82, 46.51, -55.52)
CIE-LCHlch(49.82, 72.42, 309.96°)
OKLaboklab(58.71% 0.0936 -0.1572)
OKLCHoklch(58.71% 0.183 300.8)
XYZxyz(27.3774, 18.2664, 65.6887)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BD6 #A1D65B
analogous
#5B63D6 #905BD6 #CE5BD6
triadic
#905BD6 #D6905B #5BD690
tetradic
#905BD6 #D65B63 #A1D65B #5BD6CE
square
#905BD6 #D65B63 #A1D65B #5BD6CE
split-complementary
#905BD6 #D6CE5B #63D65B
monochromatic
#542592 #7031C3 #905BD6 #B18CE2 #D2BDEE

Accessibility & contrast

On white

4.51
#905BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#905BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BD6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BD6#FFFFFF#000000##000000
##905BD61.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2176DA
Deuteranopia (green-blind)
#3876D3
Tritanopia (blue-blind)
#827490
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905bd6;
/* rgb */ color: rgb(144, 91, 214);
/* oklch */ color: oklch(58.7% 0.183 300.8);
Tailwind
colors: {
  custom: {
    50: '#b48be3',
    500: '#905bd6',
    950: '#000000',
  },
}
SCSS
$custom: #905bd6;
$custom-light: #b48be3;
$custom-dark: #000000;
JSON
{
  "hex": "#905bd6",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 265.854,
    "s": 60,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5871,
    "c": 0.18295,
    "h": 300.8
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#905BD6
secondary
#CADEAF
accent
#E3459F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #905BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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