#905FBD#905FBD

#905FBD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.8% C 0.147 H 306.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#905FBD
RGBrgb(144, 95, 189)
HSLhsl(271, 42%, 56%)
HSVhsv(271, 50%, 74%)
CMYKcmyk(23.8%, 49.7%, 0%, 25.9%)
CIE-LABlab(49.24, 38.21, -42.09)
CIE-LCHlch(49.24, 56.84, 312.23°)
OKLaboklab(57.82% 0.087 -0.1179)
OKLCHoklch(57.82% 0.147 306.4)
XYZxyz(24.7772, 17.7880, 50.2624)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FBD #8CBD5F
analogous
#615FBD #905FBD #BD5FBB
triadic
#905FBD #BD905F #5FBD90
tetradic
#905FBD #BD615F #8CBD5F #5FBBBD
square
#905FBD #BD615F #8CBD5F #5FBBBD
split-complementary
#905FBD #BBBD5F #5FBD61
monochromatic
#522F72 #71419E #905FBD #AE8ACF #CCB6E1

Accessibility & contrast

On white

4.61
#905FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#905FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905FBD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FBD#FFFFFF#000000##FFFFFF
##905FBD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573C0
Deuteranopia (green-blind)
#5275BB
Tritanopia (blue-blind)
#896F85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905fbd;
/* rgb */ color: rgb(144, 95, 189);
/* oklch */ color: oklch(57.8% 0.147 306.4);
Tailwind
colors: {
  custom: {
    50: '#b38ed1',
    500: '#905fbd',
    950: '#000000',
  },
}
SCSS
$custom: #905fbd;
$custom-light: #b38ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#905fbd",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 271.277,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.14655,
    "h": 306.4
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#905FBD
secondary
#BBCFA8
accent
#D15691
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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