#905BB6#905BB6

#905BB6 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.145 H 309.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#905BB6
RGBrgb(144, 91, 182)
HSLhsl(275, 38%, 54%)
HSVhsv(275, 50%, 71%)
CMYKcmyk(20.9%, 50%, 0%, 28.6%)
CIE-LABlab(47.99, 38.81, -40.00)
CIE-LCHlch(47.99, 55.73, 314.13°)
OKLaboklab(56.78% 0.0919 -0.1118)
OKLCHoklch(56.78% 0.145 309.4)
XYZxyz(23.6846, 16.7892, 46.2398)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BB6 #81B65B
analogous
#625BB6 #905BB6 #B65BAE
triadic
#905BB6 #B6905B #5BB690
tetradic
#905BB6 #B6625B #81B65B #5BAEB6
square
#905BB6 #B6625B #81B65B #5BAEB6
split-complementary
#905BB6 #AEB65B #5BB662
monochromatic
#502E68 #714193 #905BB6 #AD85C9 #C9B0DC

Accessibility & contrast

On white

4.82
#905BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#905BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BB6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BB6#FFFFFF#000000##FFFFFF
##905BB61.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4370B9
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#8B6A80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905bb6;
/* rgb */ color: rgb(144, 91, 182);
/* oklch */ color: oklch(56.8% 0.145 309.4);
Tailwind
colors: {
  custom: {
    50: '#b28bcc',
    500: '#905bb6',
    950: '#000000',
  },
}
SCSS
$custom: #905bb6;
$custom-light: #b28bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#905bb6",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 274.945,
    "s": 38.397,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.14469,
    "h": 309.4
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#905BB6
secondary
#B3CAA3
accent
#CE598A
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #905BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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