#A754ED#A754ED

#A754ED is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.8% C 0.223 H 305.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A754ED
RGBrgb(167, 84, 237)
HSLhsl(273, 81%, 63%)
HSVhsv(273, 65%, 93%)
CMYKcmyk(29.5%, 64.6%, 0%, 7.1%)
CIE-LABlab(52.59, 60.65, -63.92)
CIE-LCHlch(52.59, 88.11, 313.50°)
OKLaboklab(61.77% 0.1304 -0.1811)
OKLCHoklch(61.77% 0.223 305.8)
XYZxyz(34.3894, 20.6708, 82.2825)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754ED #9AED54
analogous
#5A54ED #A754ED #ED54E6
triadic
#A754ED #EDA754 #54EDA7
tetradic
#A754ED #ED5A54 #9AED54 #54E6ED
square
#A754ED #ED5A54 #9AED54 #54E6ED
split-complementary
#A754ED #E6ED54 #54ED5A
monochromatic
#6A13B4 #8B1DE7 #A754ED #C38BF3 #E0C3F9

Accessibility & contrast

On white

4.09
#A754ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A754ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754ED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754ED#FFFFFF#000000##000000
##A754ED1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#2C7EEA
Tritanopia (blue-blind)
#9B7599
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a754ed;
/* rgb */ color: rgb(167, 84, 237);
/* oklch */ color: oklch(61.8% 0.223 305.8);
Tailwind
colors: {
  custom: {
    50: '#c689f4',
    500: '#a754ed',
    950: '#000000',
  },
}
SCSS
$custom: #a754ed;
$custom-light: #c689f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a754ed",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 272.549,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.22318,
    "h": 305.8
  },
  "luminance": 0.20671
}

Semantic roles & 50–950 ramp

primary
#A754ED
secondary
#CCEAB3
accent
#DD086A
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A754ED

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

Preview Lab → · Contrast checker → · Palette generator →

#A754ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva