#905BD5#905BD5

#905BD5 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.182 H 301.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#905BD5
RGBrgb(144, 91, 213)
HSLhsl(266, 59%, 60%)
HSVhsv(266, 57%, 84%)
CMYKcmyk(32.4%, 57.3%, 0%, 16.5%)
CIE-LABlab(49.76, 46.26, -55.04)
CIE-LCHlch(49.76, 71.90, 310.05°)
OKLaboklab(58.65% 0.0936 -0.1558)
OKLCHoklch(58.65% 0.182 301)
XYZxyz(27.2501, 18.2154, 65.0182)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BD5 #A0D55B
analogous
#5B63D5 #905BD5 #CD5BD5
triadic
#905BD5 #D5905B #5BD590
tetradic
#905BD5 #D55B63 #A0D55B #5BD5CD
square
#905BD5 #D55B63 #A0D55B #5BD5CD
split-complementary
#905BD5 #D5CD5B #63D55B
monochromatic
#542591 #7032C1 #905BD5 #B18CE1 #D2BCEE

Accessibility & contrast

On white

4.52
#905BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#905BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BD5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BD5#FFFFFF#000000##000000
##905BD51.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2276D9
Deuteranopia (green-blind)
#3976D2
Tritanopia (blue-blind)
#82748F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905bd5;
/* rgb */ color: rgb(144, 91, 213);
/* oklch */ color: oklch(58.6% 0.182 301.0);
Tailwind
colors: {
  custom: {
    50: '#b48be3',
    500: '#905bd5',
    950: '#000000',
  },
}
SCSS
$custom: #905bd5;
$custom-light: #b48be3;
$custom-dark: #000000;
JSON
{
  "hex": "#905bd5",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 266.066,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.18176,
    "h": 301
  },
  "luminance": 0.18216
}

Semantic roles & 50–950 ramp

primary
#905BD5
secondary
#C9DEAE
accent
#E2459E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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