#905BB8#905BB8

#905BB8 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.147 H 308.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#905BB8
RGBrgb(144, 91, 184)
HSLhsl(274, 40%, 54%)
HSVhsv(274, 51%, 72%)
CMYKcmyk(21.7%, 50.5%, 0%, 27.8%)
CIE-LABlab(48.10, 39.27, -40.99)
CIE-LCHlch(48.10, 56.77, 313.77°)
OKLaboklab(56.89% 0.0921 -0.1147)
OKLCHoklch(56.89% 0.147 308.8)
XYZxyz(23.8927, 16.8725, 47.3361)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BB8 #83B85B
analogous
#625BB8 #905BB8 #B85BB1
triadic
#905BB8 #B8905B #5BB890
tetradic
#905BB8 #B8625B #83B85B #5BB1B8
square
#905BB8 #B8625B #83B85B #5BB1B8
split-complementary
#905BB8 #B1B85B #5BB862
monochromatic
#512E6A #714195 #905BB8 #AD86CA #CAB0DD

Accessibility & contrast

On white

4.80
#905BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#905BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BB8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BB8#FFFFFF#000000##FFFFFF
##905BB81.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4270BB
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#8B6B81
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905bb8;
/* rgb */ color: rgb(144, 91, 184);
/* oklch */ color: oklch(56.9% 0.147 308.8);
Tailwind
colors: {
  custom: {
    50: '#b38bce',
    500: '#905bb8',
    950: '#000000',
  },
}
SCSS
$custom: #905bb8;
$custom-light: #b38bce;
$custom-dark: #000000;
JSON
{
  "hex": "#905bb8",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 274.194,
    "s": 39.574,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56888,
    "c": 0.14708,
    "h": 308.8
  },
  "luminance": 0.16872
}

Semantic roles & 50–950 ramp

primary
#905BB8
secondary
#B5CBA4
accent
#CF588C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #905BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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