#905CD4#905CD4

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

Color values

HEX#905CD4
RGBrgb(144, 92, 212)
HSLhsl(266, 58%, 60%)
HSVhsv(266, 57%, 83%)
CMYKcmyk(32.1%, 56.6%, 0%, 16.9%)
CIE-LABlab(49.90, 45.47, -54.24)
CIE-LCHlch(49.90, 70.78, 309.97°)
OKLaboklab(58.73% 0.0924 -0.1534)
OKLCHoklch(58.73% 0.179 301)
XYZxyz(27.2096, 18.3369, 64.3805)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CD4 #A0D45C
analogous
#5C64D4 #905CD4 #CC5CD4
triadic
#905CD4 #D4905C #5CD490
tetradic
#905CD4 #D45C64 #A0D45C #5CD4CC
square
#905CD4 #D45C64 #A0D45C #5CD4CC
split-complementary
#905CD4 #D4CC5C #64D45C
monochromatic
#542690 #7033C0 #905CD4 #B18CE1 #D2BDEE

Accessibility & contrast

On white

4.50
#905CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#905CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CD4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CD4#FFFFFF#000000##000000
##905CD41.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2776D8
Deuteranopia (green-blind)
#3C76D1
Tritanopia (blue-blind)
#82748F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905cd4;
/* rgb */ color: rgb(144, 92, 212);
/* oklch */ color: oklch(58.7% 0.179 301.0);
Tailwind
colors: {
  custom: {
    50: '#b48ce2',
    500: '#905cd4',
    950: '#000000',
  },
}
SCSS
$custom: #905cd4;
$custom-light: #b48ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#905cd4",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 266,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58733,
    "c": 0.1791,
    "h": 301
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#905CD4
secondary
#C9DDAF
accent
#E1469E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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