#905BBF#905BBF

#905BBF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.3% C 0.155 H 306.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#905BBF
RGBrgb(144, 91, 191)
HSLhsl(272, 44%, 55%)
HSVhsv(272, 52%, 75%)
CMYKcmyk(24.6%, 52.4%, 0%, 25.1%)
CIE-LABlab(48.48, 40.91, -44.45)
CIE-LCHlch(48.48, 60.42, 312.62°)
OKLaboklab(57.29% 0.0927 -0.1248)
OKLCHoklch(57.29% 0.155 306.6)
XYZxyz(24.6447, 17.1733, 51.2966)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BBF #8ABF5B
analogous
#5E5BBF #905BBF #BF5BBC
triadic
#905BBF #BF905B #5BBF90
tetradic
#905BBF #BF5E5B #8ABF5B #5BBCBF
square
#905BBF #BF5E5B #8ABF5B #5BBCBF
split-complementary
#905BBF #BCBF5B #5BBF5E
monochromatic
#522D73 #713E9F #905BBF #AE87D0 #CCB3E1

Accessibility & contrast

On white

4.74
#905BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#905BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BBF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BBF#FFFFFF#000000##FFFFFF
##905BBF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C2
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#896D84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905bbf;
/* rgb */ color: rgb(144, 91, 191);
/* oklch */ color: oklch(57.3% 0.155 306.6);
Tailwind
colors: {
  custom: {
    50: '#b38bd3',
    500: '#905bbf',
    950: '#000000',
  },
}
SCSS
$custom: #905bbf;
$custom-light: #b38bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#905bbf",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 271.8,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.15546,
    "h": 306.6
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#905BBF
secondary
#BAD0A6
accent
#D45490
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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