#A754F2#A754F2

#A754F2 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.1% C 0.228 H 304.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A754F2
RGBrgb(167, 84, 242)
HSLhsl(272, 86%, 64%)
HSVhsv(272, 65%, 95%)
CMYKcmyk(31%, 65.3%, 0%, 5.1%)
CIE-LABlab(52.91, 61.78, -66.19)
CIE-LCHlch(52.91, 90.55, 313.03°)
OKLaboklab(62.11% 0.13 -0.1878)
OKLCHoklch(62.11% 0.228 304.7)
XYZxyz(35.1301, 20.9671, 86.1835)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754F2 #9FF254
analogous
#5854F2 #A754F2 #F254EE
triadic
#A754F2 #F2A754 #54F2A7
tetradic
#A754F2 #F25854 #9FF254 #54EEF2
square
#A754F2 #F25854 #9FF254 #54EEF2
split-complementary
#A754F2 #EEF254 #54F258
monochromatic
#6A0EBD #8A1BEE #A754F2 #C48DF6 #E2C6FB

Accessibility & contrast

On white

4.04
#A754F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A754F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754F2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754F2#FFFFFF#000000##000000
##A754F21.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#227EEF
Tritanopia (blue-blind)
#99779C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a754f2;
/* rgb */ color: rgb(167, 84, 242);
/* oklch */ color: oklch(62.1% 0.228 304.7);
Tailwind
colors: {
  custom: {
    50: '#c689f7',
    500: '#a754f2',
    950: '#000000',
  },
}
SCSS
$custom: #a754f2;
$custom-light: #c689f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a754f2",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 271.519,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62109,
    "c": 0.22839,
    "h": 304.7
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

primary
#A754F2
secondary
#CFEDB5
accent
#E2036D
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A754F2

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

Preview Lab → · Contrast checker → · Palette generator →

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