#905CAF#905CAF

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

Color values

HEX#905CAF
RGBrgb(144, 92, 175)
HSLhsl(278, 34%, 52%)
HSVhsv(278, 47%, 69%)
CMYKcmyk(17.7%, 47.4%, 0%, 31.4%)
CIE-LABlab(47.85, 36.64, -36.13)
CIE-LCHlch(47.85, 51.46, 315.40°)
OKLaboklab(56.55% 0.0895 -0.1006)
OKLCHoklch(56.55% 0.135 311.7)
XYZxyz(23.0652, 16.6792, 42.5535)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CAF #7BAF5C
analogous
#675CAF #905CAF #AF5CA5
triadic
#905CAF #AF905C #5CAF90
tetradic
#905CAF #AF675C #7BAF5C #5CA5AF
square
#905CAF #AF675C #7BAF5C #5CA5AF
split-complementary
#905CAF #A5AF5C #5CAF67
monochromatic
#4F3061 #70448A #905CAF #AC85C3 #C8AED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##905CAF#FFFFFF#000000##FFFFFF
##905CAF1.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)
#496FB2
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#8D697D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905caf;
/* rgb */ color: rgb(144, 92, 175);
/* oklch */ color: oklch(56.6% 0.135 311.7);
Tailwind
colors: {
  custom: {
    50: '#b28bc7',
    500: '#905caf',
    950: '#000000',
  },
}
SCSS
$custom: #905caf;
$custom-light: #b28bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#905caf",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 277.59,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.13465,
    "h": 311.7
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#905CAF
secondary
#AFC5A1
accent
#CA5E86
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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