#905FBE#905FBE

#905FBE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.148 H 306.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#905FBE
RGBrgb(144, 95, 190)
HSLhsl(271, 42%, 56%)
HSVhsv(271, 50%, 75%)
CMYKcmyk(24.2%, 50%, 0%, 25.5%)
CIE-LABlab(49.29, 38.44, -42.58)
CIE-LCHlch(49.29, 57.37, 312.08°)
OKLaboklab(57.88% 0.0871 -0.1193)
OKLCHoklch(57.88% 0.148 306.1)
XYZxyz(24.8862, 17.8316, 50.8360)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FBE #8DBE5F
analogous
#605FBE #905FBE #BE5FBC
triadic
#905FBE #BE905F #5FBE90
tetradic
#905FBE #BE605F #8DBE5F #5FBCBE
square
#905FBE #BE605F #8DBE5F #5FBCBE
split-complementary
#905FBE #BCBE5F #5FBE60
monochromatic
#522F74 #71419F #905FBE #AE8BD0 #CCB6E1

Accessibility & contrast

On white

4.60
#905FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#905FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905FBE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FBE#FFFFFF#000000##FFFFFF
##905FBE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473C1
Deuteranopia (green-blind)
#5275BC
Tritanopia (blue-blind)
#897086
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905fbe;
/* rgb */ color: rgb(144, 95, 190);
/* oklch */ color: oklch(57.9% 0.148 306.1);
Tailwind
colors: {
  custom: {
    50: '#b38ed2',
    500: '#905fbe',
    950: '#000000',
  },
}
SCSS
$custom: #905fbe;
$custom-light: #b38ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#905fbe",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 270.947,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.14777,
    "h": 306.1
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#905FBE
secondary
#BCD0A9
accent
#D25692
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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