#905CB4#905CB4

#905CB4 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.141 H 309.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#905CB4
RGBrgb(144, 92, 180)
HSLhsl(275, 37%, 53%)
HSVhsv(275, 49%, 71%)
CMYKcmyk(20%, 48.9%, 0%, 29.4%)
CIE-LABlab(48.11, 37.78, -38.65)
CIE-LCHlch(48.11, 54.05, 314.35°)
OKLaboklab(56.83% 0.0902 -0.1079)
OKLCHoklch(56.83% 0.141 309.9)
XYZxyz(23.5654, 16.8793, 45.1878)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CB4 #80B45C
analogous
#645CB4 #905CB4 #B45CAC
triadic
#905CB4 #B4905C #5CB490
tetradic
#905CB4 #B4645C #80B45C #5CACB4
square
#905CB4 #B4645C #80B45C #5CACB4
split-complementary
#905CB4 #ACB45C #5CB464
monochromatic
#502F66 #704290 #905CB4 #AD86C7 #C9B0DB

Accessibility & contrast

On white

4.80
#905CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#905CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CB4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CB4#FFFFFF#000000##FFFFFF
##905CB41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4670B7
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#8C6A7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905cb4;
/* rgb */ color: rgb(144, 92, 180);
/* oklch */ color: oklch(56.8% 0.141 309.9);
Tailwind
colors: {
  custom: {
    50: '#b28bcb',
    500: '#905cb4',
    950: '#000000',
  },
}
SCSS
$custom: #905cb4;
$custom-light: #b28bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#905cb4",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 275.455,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.14062,
    "h": 309.9
  },
  "luminance": 0.16879
}

Semantic roles & 50–950 ramp

primary
#905CB4
secondary
#B2C9A3
accent
#CD5B8A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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