#905CCA#905CCA

#905CCA is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.167 H 303.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#905CCA
RGBrgb(144, 92, 202)
HSLhsl(268, 51%, 58%)
HSVhsv(268, 54%, 79%)
CMYKcmyk(28.7%, 54.5%, 0%, 20.8%)
CIE-LABlab(49.31, 43.01, -49.47)
CIE-LCHlch(49.31, 65.55, 311.00°)
OKLaboklab(58.11% 0.0921 -0.1394)
OKLCHoklch(58.11% 0.167 303.4)
XYZxyz(25.9870, 17.8479, 57.9416)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CCA #96CA5C
analogous
#5C5FCA #905CCA #C75CCA
triadic
#905CCA #CA905C #5CCA90
tetradic
#905CCA #CA5C5F #96CA5C #5CCAC7
square
#905CCA #CA5C5F #96CA5C #5CCAC7
split-complementary
#905CCA #CAC75C #5FCA5C
monochromatic
#532A81 #7139B0 #905CCA #AF8AD9 #CFB8E8

Accessibility & contrast

On white

4.60
#905CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#905CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905CCA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CCA#FFFFFF#000000##FFFFFF
##905CCA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#85718A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905cca;
/* rgb */ color: rgb(144, 92, 202);
/* oklch */ color: oklch(58.1% 0.167 303.4);
Tailwind
colors: {
  custom: {
    50: '#b48cdb',
    500: '#905cca',
    950: '#000000',
  },
}
SCSS
$custom: #905cca;
$custom-light: #b48cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#905cca",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 202
  },
  "hsl": {
    "h": 268.364,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58108,
    "c": 0.1671,
    "h": 303.4
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#905CCA
secondary
#C2D7AB
accent
#DA4D98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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