#905FBF#905FBF

#905FBF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.9% C 0.149 H 305.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#905FBF
RGBrgb(144, 95, 191)
HSLhsl(271, 43%, 56%)
HSVhsv(271, 50%, 75%)
CMYKcmyk(24.6%, 50.3%, 0%, 25.1%)
CIE-LABlab(49.34, 38.68, -43.08)
CIE-LCHlch(49.34, 57.90, 311.92°)
OKLaboklab(57.93% 0.0872 -0.1208)
OKLCHoklch(57.93% 0.149 305.8)
XYZxyz(24.9958, 17.8755, 51.4136)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FBF #8EBF5F
analogous
#605FBF #905FBF #BF5FBE
triadic
#905FBF #BF905F #5FBF90
tetradic
#905FBF #BF605F #8EBF5F #5FBEBF
square
#905FBF #BF605F #8EBF5F #5FBEBF
split-complementary
#905FBF #BEBF5F #5FBF60
monochromatic
#532F75 #7140A1 #905FBF #AE8BD0 #CDB6E2

Accessibility & contrast

On white

4.59
#905FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#905FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905FBF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FBF#FFFFFF#000000##FFFFFF
##905FBF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#897086
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905fbf;
/* rgb */ color: rgb(144, 95, 191);
/* oklch */ color: oklch(57.9% 0.149 305.8);
Tailwind
colors: {
  custom: {
    50: '#b38ed3',
    500: '#905fbf',
    950: '#000000',
  },
}
SCSS
$custom: #905fbf;
$custom-light: #b38ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#905fbf",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 270.625,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57934,
    "c": 0.149,
    "h": 305.8
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#905FBF
secondary
#BCD1A9
accent
#D35593
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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