#905CD2#905CD2

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

Color values

HEX#905CD2
RGBrgb(144, 92, 210)
HSLhsl(266, 57%, 59%)
HSVhsv(266, 56%, 82%)
CMYKcmyk(31.4%, 56.2%, 0%, 17.6%)
CIE-LABlab(49.78, 44.97, -53.29)
CIE-LCHlch(49.78, 69.73, 310.16°)
OKLaboklab(58.61% 0.0923 -0.1507)
OKLCHoklch(58.61% 0.177 301.5)
XYZxyz(26.9589, 18.2366, 63.0600)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CD2 #9ED25C
analogous
#5C63D2 #905CD2 #CB5CD2
triadic
#905CD2 #D2905C #5CD290
tetradic
#905CD2 #D25C63 #9ED25C #5CD2CB
square
#905CD2 #D25C63 #9ED25C #5CD2CB
split-complementary
#905CD2 #D2CB5C #63D25C
monochromatic
#54278D #7034BD #905CD2 #B18CDF #D1BCEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##905CD2#FFFFFF#000000##000000
##905CD21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#83738E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905cd2;
/* rgb */ color: rgb(144, 92, 210);
/* oklch */ color: oklch(58.6% 0.177 301.5);
Tailwind
colors: {
  custom: {
    50: '#b48ce0',
    500: '#905cd2',
    950: '#000000',
  },
}
SCSS
$custom: #905cd2;
$custom-light: #b48ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#905cd2",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 266.441,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.1767,
    "h": 301.5
  },
  "luminance": 0.18237
}

Semantic roles & 50–950 ramp

primary
#905CD2
secondary
#C8DCAE
accent
#E0489D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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