#905BB7#905BB7

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

Color values

HEX#905BB7
RGBrgb(144, 91, 183)
HSLhsl(275, 39%, 54%)
HSVhsv(275, 50%, 72%)
CMYKcmyk(21.3%, 50.3%, 0%, 28.2%)
CIE-LABlab(48.05, 39.04, -40.50)
CIE-LCHlch(48.05, 56.25, 313.95°)
OKLaboklab(56.83% 0.092 -0.1132)
OKLCHoklch(56.83% 0.146 309.1)
XYZxyz(23.7883, 16.8307, 46.7860)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BB7 #82B75B
analogous
#625BB7 #905BB7 #B75BB0
triadic
#905BB7 #B7905B #5BB790
tetradic
#905BB7 #B7625B #82B75B #5BB0B7
square
#905BB7 #B7625B #82B75B #5BB0B7
split-complementary
#905BB7 #B0B75B #5BB762
monochromatic
#502E69 #714194 #905BB7 #AD86CA #CAB0DC

Accessibility & contrast

On white

4.81
#905BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #905BB7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BB7#FFFFFF#000000##FFFFFF
##905BB71.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4370BA
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#8B6A80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905bb7;
/* rgb */ color: rgb(144, 91, 183);
/* oklch */ color: oklch(56.8% 0.146 309.1);
Tailwind
colors: {
  custom: {
    50: '#b38bcd',
    500: '#905bb7',
    950: '#000000',
  },
}
SCSS
$custom: #905bb7;
$custom-light: #b38bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#905bb7",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 274.565,
    "s": 38.983,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56831,
    "c": 0.14588,
    "h": 309.1
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#905BB7
secondary
#B4CBA3
accent
#CF598B
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #905BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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