#905BB4#905BB4

#905BB4 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.142 H 310.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#905BB4
RGBrgb(144, 91, 180)
HSLhsl(276, 37%, 53%)
HSVhsv(276, 49%, 71%)
CMYKcmyk(20%, 49.4%, 0%, 29.4%)
CIE-LABlab(47.89, 38.34, -39.00)
CIE-LCHlch(47.89, 54.69, 314.52°)
OKLaboklab(56.66% 0.0916 -0.1089)
OKLCHoklch(56.66% 0.142 310.1)
XYZxyz(23.4794, 16.7071, 45.1591)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BB4 #7FB45B
analogous
#635BB4 #905BB4 #B45BAB
triadic
#905BB4 #B4905B #5BB490
tetradic
#905BB4 #B4635B #7FB45B #5BABB4
square
#905BB4 #B4635B #7FB45B #5BABB4
split-complementary
#905BB4 #ABB45B #5BB463
monochromatic
#502F66 #704290 #905BB4 #AC85C7 #C9AFDA

Accessibility & contrast

On white

4.84
#905BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#905BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BB4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BB4#FFFFFF#000000##FFFFFF
##905BB41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456FB7
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#8C6A7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905bb4;
/* rgb */ color: rgb(144, 91, 180);
/* oklch */ color: oklch(56.7% 0.142 310.1);
Tailwind
colors: {
  custom: {
    50: '#b28bcb',
    500: '#905bb4',
    950: '#000000',
  },
}
SCSS
$custom: #905bb4;
$custom-light: #b28bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#905bb4",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 275.73,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.14231,
    "h": 310.1
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#905BB4
secondary
#B2C9A2
accent
#CD5B89
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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