#905BA2#905BA2

#905BA2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 55.7% C 0.121 H 317.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#905BA2
RGBrgb(144, 91, 162)
HSLhsl(285, 28%, 50%)
HSVhsv(285, 44%, 64%)
CMYKcmyk(11.1%, 43.8%, 0%, 36.5%)
CIE-LABlab(47.00, 34.33, -29.83)
CIE-LCHlch(47.00, 45.48, 319.01°)
OKLaboklab(55.71% 0.0888 -0.0824)
OKLCHoklch(55.71% 0.121 317.2)
XYZxyz(21.7633, 16.0207, 36.1213)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BA2 #6DA25B
analogous
#6D5BA2 #905BA2 #A25B90
triadic
#905BA2 #A2905B #5BA290
tetradic
#905BA2 #A26D5B #6DA25B #5B90A2
square
#905BA2 #A26D5B #6DA25B #5B90A2
split-complementary
#905BA2 #90A25B #5BA26D
monochromatic
#4A2F54 #6D457B #905BA2 #AB82B9 #C5A9CF

Accessibility & contrast

On white

5.00
#905BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#905BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BA2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BA2#FFFFFF#000000##FFFFFF
##905BA21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#906577
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #905ba2;
/* rgb */ color: rgb(144, 91, 162);
/* oklch */ color: oklch(55.7% 0.121 317.2);
Tailwind
colors: {
  custom: {
    50: '#b28bbe',
    500: '#905ba2',
    950: '#000000',
  },
}
SCSS
$custom: #905ba2;
$custom-light: #b28bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#905ba2",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 284.789,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.12114,
    "h": 317.2
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#905BA2
secondary
#A4BD9C
accent
#C4637C
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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