#905ACC#905ACC

#905ACC is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.173 H 303.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#905ACC
RGBrgb(144, 90, 204)
HSLhsl(268, 53%, 58%)
HSVhsv(268, 56%, 80%)
CMYKcmyk(29.4%, 55.9%, 0%, 20%)
CIE-LABlab(49.01, 44.59, -51.10)
CIE-LCHlch(49.01, 67.82, 311.11°)
OKLaboklab(57.92% 0.0947 -0.1442)
OKLCHoklch(57.92% 0.173 303.3)
XYZxyz(26.0544, 17.6013, 59.1398)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ACC #96CC5A
analogous
#5A5DCC #905ACC #C95ACC
triadic
#905ACC #CC905A #5ACC90
tetradic
#905ACC #CC5A5D #96CC5A #5ACCC9
square
#905ACC #CC5A5D #96CC5A #5ACCC9
split-complementary
#905ACC #CCC95A #5DCC5A
monochromatic
#532983 #7137B2 #905ACC #AF89DA #CFB7E9

Accessibility & contrast

On white

4.65
#905ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#905ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905ACC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905ACC#FFFFFF#000000##FFFFFF
##905ACC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#85708A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905acc;
/* rgb */ color: rgb(144, 90, 204);
/* oklch */ color: oklch(57.9% 0.173 303.3);
Tailwind
colors: {
  custom: {
    50: '#b48bdc',
    500: '#905acc',
    950: '#000000',
  },
}
SCSS
$custom: #905acc;
$custom-light: #b48bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#905acc",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 268.421,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.17254,
    "h": 303.3
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#905ACC
secondary
#C2D8AA
accent
#DC4C98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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