#905AC8#905AC8

#905AC8 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.168 H 304.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#905AC8
RGBrgb(144, 90, 200)
HSLhsl(269, 50%, 57%)
HSVhsv(269, 55%, 78%)
CMYKcmyk(28%, 55%, 0%, 21.6%)
CIE-LABlab(48.77, 43.62, -49.17)
CIE-LCHlch(48.77, 65.73, 311.57°)
OKLaboklab(57.68% 0.0946 -0.1386)
OKLCHoklch(57.68% 0.168 304.3)
XYZxyz(25.5808, 17.4119, 56.6456)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AC8 #92C85A
analogous
#5A5BC8 #905AC8 #C75AC8
triadic
#905AC8 #C8905A #5AC890
tetradic
#905AC8 #C85A5B #92C85A #5AC8C7
square
#905AC8 #C85A5B #92C85A #5AC8C7
split-complementary
#905AC8 #C8C75A #5BC85A
monochromatic
#532A7E #7139AC #905AC8 #AF88D7 #CEB6E7

Accessibility & contrast

On white

4.68
#905AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#905AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905AC8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AC8#FFFFFF#000000##FFFFFF
##905AC81.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3272CC
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#866F88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905ac8;
/* rgb */ color: rgb(144, 90, 200);
/* oklch */ color: oklch(57.7% 0.168 304.3);
Tailwind
colors: {
  custom: {
    50: '#b48ad9',
    500: '#905ac8',
    950: '#000000',
  },
}
SCSS
$custom: #905ac8;
$custom-light: #b48ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#905ac8",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 269.455,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57675,
    "c": 0.16779,
    "h": 304.3
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#905AC8
secondary
#BFD5A8
accent
#DA4E95
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #905AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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