#905CD9#905CD9

#905CD9 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.185 H 299.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#905CD9
RGBrgb(144, 92, 217)
HSLhsl(265, 62%, 61%)
HSVhsv(265, 58%, 85%)
CMYKcmyk(33.6%, 57.6%, 0%, 14.9%)
CIE-LABlab(50.21, 46.72, -56.60)
CIE-LCHlch(50.21, 73.39, 309.54°)
OKLaboklab(59.06% 0.0924 -0.1604)
OKLCHoklch(59.06% 0.185 299.9)
XYZxyz(27.8501, 18.5931, 67.7538)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CD9 #A5D95C
analogous
#5C66D9 #905CD9 #CE5CD9
triadic
#905CD9 #D9905C #5CD990
tetradic
#905CD9 #D95C66 #A5D95C #5CD9CE
square
#905CD9 #D95C66 #A5D95C #5CD9CE
split-complementary
#905CD9 #D9CE5C #66D95C
monochromatic
#542397 #6F2FC9 #905CD9 #B28EE5 #D4BFF0

Accessibility & contrast

On white

4.45
#905CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#905CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CD9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CD9#FFFFFF#000000##000000
##905CD91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DD
Deuteranopia (green-blind)
#3677D6
Tritanopia (blue-blind)
#817692
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905cd9;
/* rgb */ color: rgb(144, 92, 217);
/* oklch */ color: oklch(59.1% 0.185 299.9);
Tailwind
colors: {
  custom: {
    50: '#b58ce5',
    500: '#905cd9',
    950: '#000000',
  },
}
SCSS
$custom: #905cd9;
$custom-light: #b58ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#905cd9",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 264.96,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59055,
    "c": 0.18507,
    "h": 299.9
  },
  "luminance": 0.18593
}

Semantic roles & 50–950 ramp

primary
#905CD9
secondary
#CCE0B1
accent
#CA1C81
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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