#905DCE#905DCE

#905DCE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.170 H 302.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#905DCE
RGBrgb(144, 93, 206)
HSLhsl(267, 54%, 59%)
HSVhsv(267, 55%, 81%)
CMYKcmyk(30.1%, 54.9%, 0%, 19.2%)
CIE-LABlab(49.75, 43.44, -51.05)
CIE-LCHlch(49.75, 67.03, 310.39°)
OKLaboklab(58.51% 0.0909 -0.1441)
OKLCHoklch(58.51% 0.17 302.3)
XYZxyz(26.5540, 18.2142, 60.4973)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DCE #9BCE5D
analogous
#5D62CE #905DCE #C95DCE
triadic
#905DCE #CE905D #5DCE90
tetradic
#905DCE #CE5D62 #9BCE5D #5DCEC9
square
#905DCE #CE5D62 #9BCE5D #5DCEC9
split-complementary
#905DCE #CEC95D #62CE5D
monochromatic
#542988 #7137B7 #905DCE #B08CDC #D0BBEA

Accessibility & contrast

On white

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

On black

4.64
#905DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DCE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DCE#FFFFFF#000000##000000
##905DCE1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#84738D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905dce;
/* rgb */ color: rgb(144, 93, 206);
/* oklch */ color: oklch(58.5% 0.170 302.3);
Tailwind
colors: {
  custom: {
    50: '#b48ddd',
    500: '#905dce',
    950: '#000000',
  },
}
SCSS
$custom: #905dce;
$custom-light: #b48ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#905dce",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 267.08,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.17039,
    "h": 302.3
  },
  "luminance": 0.18214
}

Semantic roles & 50–950 ramp

primary
#905DCE
secondary
#C6DAAD
accent
#DD4B9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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