#905FBB#905FBB

#905FBB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.7% C 0.144 H 307.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#905FBB
RGBrgb(144, 95, 187)
HSLhsl(272, 40%, 55%)
HSVhsv(272, 49%, 73%)
CMYKcmyk(23%, 49.2%, 0%, 26.7%)
CIE-LABlab(49.13, 37.73, -41.10)
CIE-LCHlch(49.13, 55.79, 312.55°)
OKLaboklab(57.71% 0.0868 -0.115)
OKLCHoklch(57.71% 0.144 307)
XYZxyz(24.5616, 17.7018, 49.1269)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FBB #8ABB5F
analogous
#625FBB #905FBB #BB5FB8
triadic
#905FBB #BB905F #5FBB90
tetradic
#905FBB #BB625F #8ABB5F #5FB8BB
square
#905FBB #BB625F #8ABB5F #5FB8BB
split-complementary
#905FBB #B8BB5F #5FBB62
monochromatic
#523070 #71429B #905FBB #AE8ACD #CCB5E0

Accessibility & contrast

On white

4.63
#905FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#905FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905FBB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FBB#FFFFFF#000000##FFFFFF
##905FBB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#8A6F84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905fbb;
/* rgb */ color: rgb(144, 95, 187);
/* oklch */ color: oklch(57.7% 0.144 307.0);
Tailwind
colors: {
  custom: {
    50: '#b38ed0',
    500: '#905fbb',
    950: '#000000',
  },
}
SCSS
$custom: #905fbb;
$custom-light: #b38ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#905fbb",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 271.957,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.1441,
    "h": 307
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#905FBB
secondary
#BACEA8
accent
#D05890
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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