#905AB2#905AB2

#905AB2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.142 H 310.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#905AB2
RGBrgb(144, 90, 178)
HSLhsl(277, 36%, 53%)
HSVhsv(277, 49%, 70%)
CMYKcmyk(19.1%, 49.4%, 0%, 30.2%)
CIE-LABlab(47.57, 38.44, -38.34)
CIE-LCHlch(47.57, 54.29, 315.08°)
OKLaboklab(56.39% 0.0928 -0.107)
OKLCHoklch(56.39% 0.142 310.9)
XYZxyz(23.1922, 16.4564, 44.0655)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AB2 #7CB25A
analogous
#645AB2 #905AB2 #B25AA8
triadic
#905AB2 #B2905A #5AB290
tetradic
#905AB2 #B2645A #7CB25A #5AA8B2
square
#905AB2 #B2645A #7CB25A #5AA8B2
split-complementary
#905AB2 #A8B25A #5AB264
monochromatic
#4F2E63 #70428D #905AB2 #AC84C5 #C8ADD9

Accessibility & contrast

On white

4.89
#905AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#905AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905AB2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AB2#FFFFFF#000000##FFFFFF
##905AB21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#8C687E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #905ab2;
/* rgb */ color: rgb(144, 90, 178);
/* oklch */ color: oklch(56.4% 0.142 310.9);
Tailwind
colors: {
  custom: {
    50: '#b28ac9',
    500: '#905ab2',
    950: '#000000',
  },
}
SCSS
$custom: #905ab2;
$custom-light: #b28ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#905ab2",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 276.818,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.14161,
    "h": 310.9
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#905AB2
secondary
#B0C7A1
accent
#CC5B87
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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