#905AC0#905AC0

#905AC0 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.158 H 306.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#905AC0
RGBrgb(144, 90, 192)
HSLhsl(272, 45%, 55%)
HSVhsv(272, 53%, 75%)
CMYKcmyk(25%, 53.1%, 0%, 24.7%)
CIE-LABlab(48.32, 41.70, -45.28)
CIE-LCHlch(48.32, 61.56, 312.64°)
OKLaboklab(57.19% 0.0941 -0.1272)
OKLCHoklch(57.19% 0.158 306.5)
XYZxyz(24.6702, 17.0476, 51.8498)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AC0 #8AC05A
analogous
#5D5AC0 #905AC0 #C05ABD
triadic
#905AC0 #C0905A #5AC090
tetradic
#905AC0 #C05D5A #8AC05A #5ABDC0
square
#905AC0 #C05D5A #8AC05A #5ABDC0
split-complementary
#905AC0 #BDC05A #5AC05D
monochromatic
#522C73 #713DA0 #905AC0 #AE86D1 #CCB3E2

Accessibility & contrast

On white

4.76
#905AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#905AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905AC0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AC0#FFFFFF#000000##FFFFFF
##905AC01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C3
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#886C84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905ac0;
/* rgb */ color: rgb(144, 90, 192);
/* oklch */ color: oklch(57.2% 0.158 306.5);
Tailwind
colors: {
  custom: {
    50: '#b38ad3',
    500: '#905ac0',
    950: '#000000',
  },
}
SCSS
$custom: #905ac0;
$custom-light: #b38ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#905ac0",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 271.765,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.15825,
    "h": 306.5
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#905AC0
secondary
#BAD0A6
accent
#D45390
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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