#A462CB#A462CB

#A462CB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.3% C 0.165 H 311.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A462CB
RGBrgb(164, 98, 203)
HSLhsl(278, 50%, 59%)
HSVhsv(278, 52%, 80%)
CMYKcmyk(19.2%, 51.7%, 0%, 20.4%)
CIE-LABlab(52.88, 45.23, -44.22)
CIE-LCHlch(52.88, 63.25, 315.65°)
OKLaboklab(61.27% 0.1093 -0.1236)
OKLCHoklch(61.27% 0.165 311.5)
XYZxyz(30.4551, 20.9403, 58.9259)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462CB #89CB62
analogous
#7062CB #A462CB #CB62BE
triadic
#A462CB #CBA462 #62CBA4
tetradic
#A462CB #CB7062 #89CB62 #62BECB
square
#A462CB #CB7062 #89CB62 #62BECB
split-complementary
#A462CB #BECB62 #62CB70
monochromatic
#652C86 #873CB4 #A462CB #BF90DA #D9BEE9

Accessibility & contrast

On white

4.05
#A462CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A462CB#FFFFFF#000000##000000
##A462CB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#5B80C8
Tritanopia (blue-blind)
#A0738D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a462cb;
/* rgb */ color: rgb(164, 98, 203);
/* oklch */ color: oklch(61.3% 0.165 311.5);
Tailwind
colors: {
  custom: {
    50: '#c191db',
    500: '#a462cb',
    950: '#000000',
  },
}
SCSS
$custom: #a462cb;
$custom-light: #c191db;
$custom-dark: #000000;
JSON
{
  "hex": "#a462cb",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 277.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61271,
    "c": 0.16495,
    "h": 311.5
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#A462CB
secondary
#BFD9B0
accent
#DA4E82
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A462CB

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

Preview Lab → · Contrast checker → · Palette generator →

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