#905CCE#905CCE

#905CCE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.172 H 302.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#905CCE
RGBrgb(144, 92, 206)
HSLhsl(267, 54%, 58%)
HSVhsv(267, 55%, 81%)
CMYKcmyk(30.1%, 55.3%, 0%, 19.2%)
CIE-LABlab(49.54, 43.99, -51.39)
CIE-LCHlch(49.54, 67.64, 310.56°)
OKLaboklab(58.36% 0.0922 -0.1451)
OKLCHoklch(58.36% 0.172 302.4)
XYZxyz(26.4668, 18.0398, 60.4682)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CCE #9ACE5C
analogous
#5C61CE #905CCE #C95CCE
triadic
#905CCE #CE905C #5CCE90
tetradic
#905CCE #CE5C61 #9ACE5C #5CCEC9
square
#905CCE #CE5C61 #9ACE5C #5CCEC9
split-complementary
#905CCE #CEC95C #61CE5C
monochromatic
#542987 #7137B6 #905CCE #B08BDC #D0BAEA

Accessibility & contrast

On white

4.56
#905CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#905CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CCE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CCE#FFFFFF#000000##000000
##905CCE1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#84728C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905cce;
/* rgb */ color: rgb(144, 92, 206);
/* oklch */ color: oklch(58.4% 0.172 302.4);
Tailwind
colors: {
  custom: {
    50: '#b48cdd',
    500: '#905cce',
    950: '#000000',
  },
}
SCSS
$custom: #905cce;
$custom-light: #b48cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#905cce",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 267.368,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.17191,
    "h": 302.4
  },
  "luminance": 0.1804
}

Semantic roles & 50–950 ramp

primary
#905CCE
secondary
#C5DAAC
accent
#DD4B9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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