#905CDC#905CDC

#905CDC is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.189 H 299.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#905CDC
RGBrgb(144, 92, 220)
HSLhsl(264, 65%, 61%)
HSVhsv(264, 58%, 86%)
CMYKcmyk(34.5%, 58.2%, 0%, 13.7%)
CIE-LABlab(50.39, 47.47, -58.00)
CIE-LCHlch(50.39, 74.95, 309.30°)
OKLaboklab(59.25% 0.0924 -0.1645)
OKLCHoklch(59.25% 0.189 299.3)
XYZxyz(28.2439, 18.7506, 69.8275)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CDC #A8DC5C
analogous
#5C68DC #905CDC #D05CDC
triadic
#905CDC #DC905C #5CDC90
tetradic
#905CDC #DC5C68 #A8DC5C #5CDCD0
square
#905CDC #DC5C68 #A8DC5C #5CDCD0
split-complementary
#905CDC #DCD05C #68DC5C
monochromatic
#53229C #6E2CCE #905CDC #B28EE7 #D5C1F2

Accessibility & contrast

On white

4.42
#905CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#905CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CDC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CDC#FFFFFF#000000##000000
##905CDC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#3277D9
Tritanopia (blue-blind)
#7F7793
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905cdc;
/* rgb */ color: rgb(144, 92, 220);
/* oklch */ color: oklch(59.3% 0.189 299.3);
Tailwind
colors: {
  custom: {
    50: '#b58ce8',
    500: '#905cdc',
    950: '#000000',
  },
}
SCSS
$custom: #905cdc;
$custom-light: #b58ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#905cdc",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 264.375,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59252,
    "c": 0.18863,
    "h": 299.3
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#905CDC
secondary
#CEE2B2
accent
#CC1984
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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