#905BB3#905BB3

#905BB3 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.141 H 310.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#905BB3
RGBrgb(144, 91, 179)
HSLhsl(276, 37%, 53%)
HSVhsv(276, 49%, 70%)
CMYKcmyk(19.6%, 49.2%, 0%, 29.8%)
CIE-LABlab(47.84, 38.12, -38.50)
CIE-LCHlch(47.84, 54.17, 314.72°)
OKLaboklab(56.61% 0.0915 -0.1074)
OKLCHoklch(56.61% 0.141 310.4)
XYZxyz(23.3779, 16.6665, 44.6245)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BB3 #7EB35B
analogous
#645BB3 #905BB3 #B35BAA
triadic
#905BB3 #B3905B #5BB390
tetradic
#905BB3 #B3645B #7EB35B #5BAAB3
square
#905BB3 #B3645B #7EB35B #5BAAB3
split-complementary
#905BB3 #AAB35B #5BB364
monochromatic
#4F2F65 #70428F #905BB3 #AC85C6 #C9AFDA

Accessibility & contrast

On white

4.85
#905BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #905BB3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BB3#FFFFFF#000000##FFFFFF
##905BB31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456FB6
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#8C697F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #905bb3;
/* rgb */ color: rgb(144, 91, 179);
/* oklch */ color: oklch(56.6% 0.141 310.4);
Tailwind
colors: {
  custom: {
    50: '#b28bca',
    500: '#905bb3',
    950: '#000000',
  },
}
SCSS
$custom: #905bb3;
$custom-light: #b28bca;
$custom-dark: #000000;
JSON
{
  "hex": "#905bb3",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 276.136,
    "s": 36.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.14111,
    "h": 310.4
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#905BB3
secondary
#B1C8A2
accent
#CD5B88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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