#905FB3#905FB3

#905FB3 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.3% C 0.134 H 309.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#905FB3
RGBrgb(144, 95, 179)
HSLhsl(275, 36%, 54%)
HSVhsv(275, 47%, 70%)
CMYKcmyk(19.6%, 46.9%, 0%, 29.8%)
CIE-LABlab(48.72, 35.86, -37.10)
CIE-LCHlch(48.72, 51.60, 314.03°)
OKLaboklab(57.27% 0.0858 -0.1034)
OKLCHoklch(57.27% 0.134 309.7)
XYZxyz(23.7290, 17.3687, 44.7415)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FB3 #82B35F
analogous
#665FB3 #905FB3 #B35FAC
triadic
#905FB3 #B3905F #5FB390
tetradic
#905FB3 #B3665F #82B35F #5FACB3
square
#905FB3 #B3665F #82B35F #5FACB3
split-complementary
#905FB3 #ACB35F #5FB366
monochromatic
#503167 #714590 #905FB3 #AD88C7 #CAB2DA

Accessibility & contrast

On white

4.69
#905FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#905FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905FB3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FB3#FFFFFF#000000##FFFFFF
##905FB31.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#8C6C80
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905fb3;
/* rgb */ color: rgb(144, 95, 179);
/* oklch */ color: oklch(57.3% 0.134 309.7);
Tailwind
colors: {
  custom: {
    50: '#b28dca',
    500: '#905fb3',
    950: '#000000',
  },
}
SCSS
$custom: #905fb3;
$custom-light: #b28dca;
$custom-dark: #000000;
JSON
{
  "hex": "#905fb3",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 275,
    "s": 35.593,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57267,
    "c": 0.13434,
    "h": 309.7
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#905FB3
secondary
#B4C9A5
accent
#CC5C8B
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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