#A762CB#A762CB

#A762CB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.166 H 312.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A762CB
RGBrgb(167, 98, 203)
HSLhsl(279, 50%, 59%)
HSVhsv(279, 52%, 80%)
CMYKcmyk(17.7%, 51.7%, 0%, 20.4%)
CIE-LABlab(53.24, 46.04, -43.64)
CIE-LCHlch(53.24, 63.44, 316.54°)
OKLaboklab(61.61% 0.113 -0.1218)
OKLCHoklch(61.61% 0.166 312.8)
XYZxyz(31.0817, 21.2634, 58.9552)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762CB #86CB62
analogous
#7362CB #A762CB #CB62BA
triadic
#A762CB #CBA762 #62CBA7
tetradic
#A762CB #CB7362 #86CB62 #62BACB
square
#A762CB #CB7362 #86CB62 #62BACB
split-complementary
#A762CB #BACB62 #62CB73
monochromatic
#672C86 #8B3CB4 #A762CB #C190DA #DBBEE9

Accessibility & contrast

On white

4.00
#A762CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A762CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762CB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762CB#FFFFFF#000000##000000
##A762CB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCF
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#A4738D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a762cb;
/* rgb */ color: rgb(167, 98, 203);
/* oklch */ color: oklch(61.6% 0.166 312.8);
Tailwind
colors: {
  custom: {
    50: '#c391db',
    500: '#a762cb',
    950: '#000000',
  },
}
SCSS
$custom: #a762cb;
$custom-light: #c391db;
$custom-dark: #000000;
JSON
{
  "hex": "#a762cb",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 279.429,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.16613,
    "h": 312.8
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#A762CB
secondary
#BED9B0
accent
#DA4E7E
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A762CB

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

Preview Lab → · Contrast checker → · Palette generator →

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