#905CCC#905CCC

#905CCC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.170 H 302.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#905CCC
RGBrgb(144, 92, 204)
HSLhsl(268, 52%, 58%)
HSVhsv(268, 55%, 80%)
CMYKcmyk(29.4%, 54.9%, 0%, 20%)
CIE-LABlab(49.43, 43.50, -50.43)
CIE-LCHlch(49.43, 66.60, 310.78°)
OKLaboklab(58.23% 0.0922 -0.1423)
OKLCHoklch(58.23% 0.17 302.9)
XYZxyz(26.2254, 17.9432, 59.1968)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CCC #98CC5C
analogous
#5C60CC #905CCC #C85CCC
triadic
#905CCC #CC905C #5CCC90
tetradic
#905CCC #CC5C60 #98CC5C #5CCCC8
square
#905CCC #CC5C60 #98CC5C #5CCCC8
split-complementary
#905CCC #CCC85C #60CC5C
monochromatic
#542984 #7138B3 #905CCC #B08BDB #CFB9E9

Accessibility & contrast

On white

4.58
#905CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#905CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CCC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CCC#FFFFFF#000000##000000
##905CCC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274D0
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#85728B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905ccc;
/* rgb */ color: rgb(144, 92, 204);
/* oklch */ color: oklch(58.2% 0.170 302.9);
Tailwind
colors: {
  custom: {
    50: '#b48cdc',
    500: '#905ccc',
    950: '#000000',
  },
}
SCSS
$custom: #905ccc;
$custom-light: #b48cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#905ccc",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 267.857,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.16951,
    "h": 302.9
  },
  "luminance": 0.17943
}

Semantic roles & 50–950 ramp

primary
#905CCC
secondary
#C3D8AC
accent
#DC4C99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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