#905CB2#905CB2

#905CB2 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.138 H 310.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#905CB2
RGBrgb(144, 92, 178)
HSLhsl(276, 36%, 53%)
HSVhsv(276, 48%, 70%)
CMYKcmyk(19.1%, 48.3%, 0%, 30.2%)
CIE-LABlab(48.00, 37.33, -37.65)
CIE-LCHlch(48.00, 53.01, 314.75°)
OKLaboklab(56.72% 0.0899 -0.105)
OKLCHoklch(56.72% 0.138 310.6)
XYZxyz(23.3632, 16.7983, 44.1225)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CB2 #7EB25C
analogous
#655CB2 #905CB2 #B25CA9
triadic
#905CB2 #B2905C #5CB290
tetradic
#905CB2 #B2655C #7EB25C #5CA9B2
square
#905CB2 #B2655C #7EB25C #5CA9B2
split-complementary
#905CB2 #A9B25C #5CB265
monochromatic
#4F2F64 #70438E #905CB2 #AC86C6 #C9AFD9

Accessibility & contrast

On white

4.82
#905CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#905CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CB2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CB2#FFFFFF#000000##FFFFFF
##905CB21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486FB5
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#8C6A7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905cb2;
/* rgb */ color: rgb(144, 92, 178);
/* oklch */ color: oklch(56.7% 0.138 310.6);
Tailwind
colors: {
  custom: {
    50: '#b28bc9',
    500: '#905cb2',
    950: '#000000',
  },
}
SCSS
$custom: #905cb2;
$custom-light: #b28bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#905cb2",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 276.279,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.13823,
    "h": 310.6
  },
  "luminance": 0.16798
}

Semantic roles & 50–950 ramp

primary
#905CB2
secondary
#B1C7A2
accent
#CC5C88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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