#905BBB#905BBB

#905BBB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.151 H 307.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#905BBB
RGBrgb(144, 91, 187)
HSLhsl(273, 41%, 55%)
HSVhsv(273, 51%, 73%)
CMYKcmyk(23%, 51.3%, 0%, 26.7%)
CIE-LABlab(48.26, 39.97, -42.48)
CIE-LCHlch(48.26, 58.33, 313.25°)
OKLaboklab(57.06% 0.0924 -0.119)
OKLCHoklch(57.06% 0.151 307.8)
XYZxyz(24.2105, 16.9996, 49.0099)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BBB #86BB5B
analogous
#605BBB #905BBB #BB5BB6
triadic
#905BBB #BB905B #5BBB90
tetradic
#905BBB #BB605B #86BB5B #5BB6BB
square
#905BBB #BB605B #86BB5B #5BB6BB
split-complementary
#905BBB #B6BB5B #5BBB60
monochromatic
#512E6E #714099 #905BBB #AD86CD #CBB2DF

Accessibility & contrast

On white

4.77
#905BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#905BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BBB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BBB#FFFFFF#000000##FFFFFF
##905BBB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4070BE
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#8A6C82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905bbb;
/* rgb */ color: rgb(144, 91, 187);
/* oklch */ color: oklch(57.1% 0.151 307.8);
Tailwind
colors: {
  custom: {
    50: '#b38bd0',
    500: '#905bbb',
    950: '#000000',
  },
}
SCSS
$custom: #905bbb;
$custom-light: #b38bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#905bbb",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 273.125,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.15067,
    "h": 307.8
  },
  "luminance": 0.16999
}

Semantic roles & 50–950 ramp

primary
#905BBB
secondary
#B7CDA5
accent
#D1578E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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