#905CD8#905CD8

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

Color values

HEX#905CD8
RGBrgb(144, 92, 216)
HSLhsl(265, 61%, 60%)
HSVhsv(265, 57%, 85%)
CMYKcmyk(33.3%, 57.4%, 0%, 15.3%)
CIE-LABlab(50.15, 46.47, -56.13)
CIE-LCHlch(50.15, 72.87, 309.62°)
OKLaboklab(58.99% 0.0924 -0.159)
OKLCHoklch(58.99% 0.184 300.2)
XYZxyz(27.7204, 18.5413, 67.0708)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CD8 #A4D85C
analogous
#5C66D8 #905CD8 #CE5CD8
triadic
#905CD8 #D8905C #5CD890
tetradic
#905CD8 #D85C66 #A4D85C #5CD8CE
square
#905CD8 #D85C66 #A4D85C #5CD8CE
split-complementary
#905CD8 #D8CE5C #66D85C
monochromatic
#542496 #6F30C7 #905CD8 #B28DE4 #D3BFF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##905CD8#FFFFFF#000000##000000
##905CD81.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)
#2077DC
Deuteranopia (green-blind)
#3776D5
Tritanopia (blue-blind)
#817591
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905cd8;
/* rgb */ color: rgb(144, 92, 216);
/* oklch */ color: oklch(59.0% 0.184 300.2);
Tailwind
colors: {
  custom: {
    50: '#b58ce5',
    500: '#905cd8',
    950: '#000000',
  },
}
SCSS
$custom: #905cd8;
$custom-light: #b58ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#905cd8",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 265.161,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.18387,
    "h": 300.2
  },
  "luminance": 0.18541
}

Semantic roles & 50–950 ramp

primary
#905CD8
secondary
#CCE0B0
accent
#C91C81
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #905CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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