#905CC8#905CC8

#905CC8 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.165 H 303.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#905CC8
RGBrgb(144, 92, 200)
HSLhsl(269, 50%, 57%)
HSVhsv(269, 54%, 78%)
CMYKcmyk(28%, 54%, 0%, 21.6%)
CIE-LABlab(49.20, 42.52, -48.50)
CIE-LCHlch(49.20, 64.50, 311.24°)
OKLaboklab(57.99% 0.092 -0.1366)
OKLCHoklch(57.99% 0.165 303.9)
XYZxyz(25.7518, 17.7538, 56.7025)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CC8 #94C85C
analogous
#5C5EC8 #905CC8 #C65CC8
triadic
#905CC8 #C8905C #5CC890
tetradic
#905CC8 #C85C5E #94C85C #5CC8C6
square
#905CC8 #C85C5E #94C85C #5CC8C6
split-complementary
#905CC8 #C8C65C #5EC85C
monochromatic
#532B7F #713AAD #905CC8 #AF8AD7 #CEB8E7

Accessibility & contrast

On white

4.61
#905CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#905CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905CC8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CC8#FFFFFF#000000##FFFFFF
##905CC81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#867089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905cc8;
/* rgb */ color: rgb(144, 92, 200);
/* oklch */ color: oklch(58.0% 0.165 303.9);
Tailwind
colors: {
  custom: {
    50: '#b38cd9',
    500: '#905cc8',
    950: '#000000',
  },
}
SCSS
$custom: #905cc8;
$custom-light: #b38cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#905cc8",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 268.889,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.16469,
    "h": 303.9
  },
  "luminance": 0.17754
}

Semantic roles & 50–950 ramp

primary
#905CC8
secondary
#C1D6AA
accent
#D94F96
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #905CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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