#905CBE#905CBE

#905CBE is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.153 H 306.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#905CBE
RGBrgb(144, 92, 190)
HSLhsl(272, 43%, 55%)
HSVhsv(272, 52%, 75%)
CMYKcmyk(24.2%, 51.6%, 0%, 25.5%)
CIE-LABlab(48.64, 40.12, -43.62)
CIE-LCHlch(48.64, 59.27, 312.61°)
OKLaboklab(57.39% 0.0913 -0.1224)
OKLCHoklch(57.39% 0.153 306.7)
XYZxyz(24.6211, 17.3015, 50.7477)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CBE #8ABE5C
analogous
#5F5CBE #905CBE #BE5CBB
triadic
#905CBE #BE905C #5CBE90
tetradic
#905CBE #BE5F5C #8ABE5C #5CBBBE
square
#905CBE #BE5F5C #8ABE5C #5CBBBE
split-complementary
#905CBE #BBBE5C #5CBE5F
monochromatic
#522E72 #713F9E #905CBE #AE88CF #CCB4E1

Accessibility & contrast

On white

4.71
#905CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#905CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CBE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CBE#FFFFFF#000000##FFFFFF
##905CBE1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C1
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#896D84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905cbe;
/* rgb */ color: rgb(144, 92, 190);
/* oklch */ color: oklch(57.4% 0.153 306.7);
Tailwind
colors: {
  custom: {
    50: '#b38cd2',
    500: '#905cbe',
    950: '#000000',
  },
}
SCSS
$custom: #905cbe;
$custom-light: #b38cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#905cbe",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 271.837,
    "s": 42.982,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57392,
    "c": 0.15264,
    "h": 306.7
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

primary
#905CBE
secondary
#BACFA6
accent
#D35590
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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