#905CCB#905CCB

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

Color values

HEX#905CCB
RGBrgb(144, 92, 203)
HSLhsl(268, 52%, 58%)
HSVhsv(268, 55%, 80%)
CMYKcmyk(29.1%, 54.7%, 0%, 20.4%)
CIE-LABlab(49.37, 43.25, -49.95)
CIE-LCHlch(49.37, 66.07, 310.89°)
OKLaboklab(58.17% 0.0921 -0.1409)
OKLCHoklch(58.17% 0.168 303.2)
XYZxyz(26.1058, 17.8954, 58.5672)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CCB #97CB5C
analogous
#5C5FCB #905CCB #C75CCB
triadic
#905CCB #CB905C #5CCB90
tetradic
#905CCB #CB5C5F #97CB5C #5CCBC7
square
#905CCB #CB5C5F #97CB5C #5CCBC7
split-complementary
#905CCB #CBC75C #5FCB5C
monochromatic
#532A83 #7139B1 #905CCB #B08ADA #CFB9E9

Accessibility & contrast

On white

4.59
#905CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#905CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905CCB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CCB#FFFFFF#000000##FFFFFF
##905CCB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#85718B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905ccb;
/* rgb */ color: rgb(144, 92, 203);
/* oklch */ color: oklch(58.2% 0.168 303.2);
Tailwind
colors: {
  custom: {
    50: '#b48cdb',
    500: '#905ccb',
    950: '#000000',
  },
}
SCSS
$custom: #905ccb;
$custom-light: #b48cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#905ccb",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 268.108,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.1683,
    "h": 303.2
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#905CCB
secondary
#C3D8AB
accent
#DB4D98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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