#905BC8#905BC8

#905BC8 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.166 H 304.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#905BC8
RGBrgb(144, 91, 200)
HSLhsl(269, 50%, 57%)
HSVhsv(269, 55%, 78%)
CMYKcmyk(28%, 54.5%, 0%, 21.6%)
CIE-LABlab(48.98, 43.07, -48.84)
CIE-LCHlch(48.98, 65.12, 311.41°)
OKLaboklab(57.83% 0.0933 -0.1376)
OKLCHoklch(57.83% 0.166 304.1)
XYZxyz(25.6657, 17.5817, 56.6739)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BC8 #93C85B
analogous
#5B5DC8 #905BC8 #C65BC8
triadic
#905BC8 #C8905B #5BC890
tetradic
#905BC8 #C85B5D #93C85B #5BC8C6
square
#905BC8 #C85B5D #93C85B #5BC8C6
split-complementary
#905BC8 #C8C65B #5DC85B
monochromatic
#532A7E #713AAC #905BC8 #AF89D7 #CEB7E7

Accessibility & contrast

On white

4.65
#905BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#905BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905BC8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BC8#FFFFFF#000000##FFFFFF
##905BC81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3473CC
Deuteranopia (green-blind)
#4674C5
Tritanopia (blue-blind)
#867089
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905bc8;
/* rgb */ color: rgb(144, 91, 200);
/* oklch */ color: oklch(57.8% 0.166 304.1);
Tailwind
colors: {
  custom: {
    50: '#b38bd9',
    500: '#905bc8',
    950: '#000000',
  },
}
SCSS
$custom: #905bc8;
$custom-light: #b38bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#905bc8",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 269.174,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.16624,
    "h": 304.1
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #905BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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