#905CB7#905CB7

#905CB7 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.144 H 308.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#905CB7
RGBrgb(144, 92, 183)
HSLhsl(274, 39%, 54%)
HSVhsv(274, 50%, 72%)
CMYKcmyk(21.3%, 49.7%, 0%, 28.2%)
CIE-LABlab(48.26, 38.48, -40.15)
CIE-LCHlch(48.26, 55.61, 313.78°)
OKLaboklab(56.99% 0.0906 -0.1122)
OKLCHoklch(56.99% 0.144 308.9)
XYZxyz(23.8743, 17.0028, 46.8147)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CB7 #83B75C
analogous
#635CB7 #905CB7 #B75CB0
triadic
#905CB7 #B7905C #5CB790
tetradic
#905CB7 #B7635C #83B75C #5CB0B7
square
#905CB7 #B7635C #83B75C #5CB0B7
split-complementary
#905CB7 #B0B75C #5CB763
monochromatic
#512F6A #714294 #905CB7 #AD86CA #CAB1DD

Accessibility & contrast

On white

4.77
#905CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#905CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CB7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CB7#FFFFFF#000000##FFFFFF
##905CB71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#5373B5
Tritanopia (blue-blind)
#8B6B81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905cb7;
/* rgb */ color: rgb(144, 92, 183);
/* oklch */ color: oklch(57.0% 0.144 308.9);
Tailwind
colors: {
  custom: {
    50: '#b28ccd',
    500: '#905cb7',
    950: '#000000',
  },
}
SCSS
$custom: #905cb7;
$custom-light: #b28ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#905cb7",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 274.286,
    "s": 38.723,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.14422,
    "h": 308.9
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#905CB7
secondary
#B5CBA4
accent
#CF598C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #905CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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