#905BCD#905BCD

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

Color values

HEX#905BCD
RGBrgb(144, 91, 205)
HSLhsl(268, 53%, 58%)
HSVhsv(268, 56%, 80%)
CMYKcmyk(29.8%, 55.6%, 0%, 19.6%)
CIE-LABlab(49.28, 44.29, -51.24)
CIE-LCHlch(49.28, 67.73, 310.84°)
OKLaboklab(58.14% 0.0935 -0.1446)
OKLCHoklch(58.14% 0.172 302.9)
XYZxyz(26.2596, 17.8192, 59.8018)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BCD #98CD5B
analogous
#5B5FCD #905BCD #C95BCD
triadic
#905BCD #CD905B #5BCD90
tetradic
#905BCD #CD5B5F #98CD5B #5BCDC9
square
#905BCD #CD5B5F #98CD5B #5BCDC9
split-complementary
#905BCD #CDC95B #5FCD5B
monochromatic
#542985 #7137B4 #905BCD #B08ADB #CFB9EA

Accessibility & contrast

On white

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

On black

4.56
#905BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##905BCD#FFFFFF#000000##FFFFFF
##905BCD1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#85718B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905bcd;
/* rgb */ color: rgb(144, 91, 205);
/* oklch */ color: oklch(58.1% 0.172 302.9);
Tailwind
colors: {
  custom: {
    50: '#b48bdd',
    500: '#905bcd',
    950: '#000000',
  },
}
SCSS
$custom: #905bcd;
$custom-light: #b48bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#905bcd",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 267.895,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.17222,
    "h": 302.9
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#905BCD
secondary
#C3D9AB
accent
#DD4B99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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