#905BB2#905BB2

#905BB2 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.140 H 310.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#905BB2
RGBrgb(144, 91, 178)
HSLhsl(277, 36%, 53%)
HSVhsv(277, 49%, 70%)
CMYKcmyk(19.1%, 48.9%, 0%, 30.2%)
CIE-LABlab(47.79, 37.89, -37.99)
CIE-LCHlch(47.79, 53.66, 314.92°)
OKLaboklab(56.55% 0.0914 -0.106)
OKLCHoklch(56.55% 0.14 310.8)
XYZxyz(23.2771, 16.6262, 44.0938)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BB2 #7DB25B
analogous
#645BB2 #905BB2 #B25BA8
triadic
#905BB2 #B2905B #5BB290
tetradic
#905BB2 #B2645B #7DB25B #5BA8B2
square
#905BB2 #B2645B #7DB25B #5BA8B2
split-complementary
#905BB2 #A8B25B #5BB264
monochromatic
#4F2F64 #70428D #905BB2 #AC85C6 #C8AED9

Accessibility & contrast

On white

4.86
#905BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#905BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BB2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BB2#FFFFFF#000000##FFFFFF
##905BB21.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#5572B0
Tritanopia (blue-blind)
#8C697E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #905bb2;
/* rgb */ color: rgb(144, 91, 178);
/* oklch */ color: oklch(56.6% 0.140 310.8);
Tailwind
colors: {
  custom: {
    50: '#b28bc9',
    500: '#905bb2',
    950: '#000000',
  },
}
SCSS
$custom: #905bb2;
$custom-light: #b28bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#905bb2",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 276.552,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.13992,
    "h": 310.8
  },
  "luminance": 0.16626
}

Semantic roles & 50–950 ramp

primary
#905BB2
secondary
#B0C7A2
accent
#CC5C88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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