#905DD5#905DD5

#905DD5 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.179 H 300.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#905DD5
RGBrgb(144, 93, 213)
HSLhsl(266, 59%, 60%)
HSVhsv(266, 56%, 84%)
CMYKcmyk(32.4%, 56.3%, 0%, 16.5%)
CIE-LABlab(50.17, 45.17, -54.38)
CIE-LCHlch(50.17, 70.70, 309.72°)
OKLaboklab(58.95% 0.0911 -0.1539)
OKLCHoklch(58.95% 0.179 300.6)
XYZxyz(27.4233, 18.5619, 65.0759)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DD5 #A2D55D
analogous
#5D66D5 #905DD5 #CC5DD5
triadic
#905DD5 #D5905D #5DD590
tetradic
#905DD5 #D55D66 #A2D55D #5DD5CC
square
#905DD5 #D55D66 #A2D55D #5DD5CC
split-complementary
#905DD5 #D5CC5D #66D55D
monochromatic
#542692 #7032C2 #905DD5 #B18EE2 #D3BEEE

Accessibility & contrast

On white

4.46
#905DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#905DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DD5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DD5#FFFFFF#000000##000000
##905DD51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2877D9
Deuteranopia (green-blind)
#3C77D2
Tritanopia (blue-blind)
#827590
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905dd5;
/* rgb */ color: rgb(144, 93, 213);
/* oklch */ color: oklch(59.0% 0.179 300.6);
Tailwind
colors: {
  custom: {
    50: '#b48de2',
    500: '#905dd5',
    950: '#000000',
  },
}
SCSS
$custom: #905dd5;
$custom-light: #b48de2;
$custom-dark: #000000;
JSON
{
  "hex": "#905dd5",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 265.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.5895,
    "c": 0.17882,
    "h": 300.6
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#905DD5
secondary
#CADEB0
accent
#E246A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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