#A762CE#A762CE

#A762CE is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.169 H 311.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A762CE
RGBrgb(167, 98, 206)
HSLhsl(278, 52%, 60%)
HSVhsv(278, 52%, 81%)
CMYKcmyk(18.9%, 52.4%, 0%, 19.2%)
CIE-LABlab(53.39, 46.70, -45.10)
CIE-LCHlch(53.39, 64.92, 316.00°)
OKLaboklab(61.78% 0.1132 -0.1261)
OKLCHoklch(61.78% 0.169 311.9)
XYZxyz(31.4426, 21.4078, 60.8563)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762CE #89CE62
analogous
#7162CE #A762CE #CE62BF
triadic
#A762CE #CEA762 #62CEA7
tetradic
#A762CE #CE7162 #89CE62 #62BFCE
square
#A762CE #CE7162 #89CE62 #62BFCE
split-complementary
#A762CE #BFCE62 #62CE71
monochromatic
#682B8A #8B3AB9 #A762CE #C191DD #DBBFEB

Accessibility & contrast

On white

3.98
#A762CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A762CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762CE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762CE#FFFFFF#000000##000000
##A762CE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#A3748F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a762ce;
/* rgb */ color: rgb(167, 98, 206);
/* oklch */ color: oklch(61.8% 0.169 311.9);
Tailwind
colors: {
  custom: {
    50: '#c391dd',
    500: '#a762ce',
    950: '#000000',
  },
}
SCSS
$custom: #a762ce;
$custom-light: #c391dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a762ce",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 278.333,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.16946,
    "h": 311.9
  },
  "luminance": 0.21407
}

Semantic roles & 50–950 ramp

primary
#A762CE
secondary
#C0DBB1
accent
#DC4C80
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A762CE

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

Preview Lab → · Contrast checker → · Palette generator →

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