#905CDF#905CDF

#905CDF is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.192 H 298.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#905CDF
RGBrgb(144, 92, 223)
HSLhsl(264, 67%, 62%)
HSVhsv(264, 59%, 87%)
CMYKcmyk(35.4%, 58.7%, 0%, 12.5%)
CIE-LABlab(50.58, 48.23, -59.40)
CIE-LCHlch(50.58, 76.51, 309.08°)
OKLaboklab(59.45% 0.0923 -0.1686)
OKLCHoklch(59.45% 0.192 298.7)
XYZxyz(28.6447, 18.9110, 71.9388)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CDF #ABDF5C
analogous
#5C6ADF #905CDF #D25CDF
triadic
#905CDF #DF905C #5CDF90
tetradic
#905CDF #DF5C6A #ABDF5C #5CDFD2
square
#905CDF #DF5C6A #ABDF5C #5CDFD2
split-complementary
#905CDF #DFD25C #6ADF5C
monochromatic
#5320A1 #6D2AD4 #905CDF #B38FE9 #D6C2F3

Accessibility & contrast

On white

4.39
#905CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#905CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CDF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CDF#FFFFFF#000000##000000
##905CDF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D78E3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#7E7895
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905cdf;
/* rgb */ color: rgb(144, 92, 223);
/* oklch */ color: oklch(59.5% 0.192 298.7);
Tailwind
colors: {
  custom: {
    50: '#b58cea',
    500: '#905cdf',
    950: '#000000',
  },
}
SCSS
$custom: #905cdf;
$custom-light: #b58cea;
$custom-dark: #000000;
JSON
{
  "hex": "#905cdf",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 263.817,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5945,
    "c": 0.19219,
    "h": 298.7
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#905CDF
secondary
#D0E4B3
accent
#CF1686
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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