#A762DB#A762DB

#A762DB is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.5% C 0.184 H 308.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A762DB
RGBrgb(167, 98, 219)
HSLhsl(274, 63%, 62%)
HSVhsv(274, 55%, 86%)
CMYKcmyk(23.7%, 55.3%, 0%, 14.1%)
CIE-LABlab(54.10, 49.59, -51.36)
CIE-LCHlch(54.10, 71.40, 314.00°)
OKLaboklab(62.52% 0.1141 -0.1444)
OKLCHoklch(62.52% 0.184 308.3)
XYZxyz(33.0877, 22.0658, 69.5202)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762DB #96DB62
analogous
#6B62DB #A762DB #DB62D2
triadic
#A762DB #DBA762 #62DBA7
tetradic
#A762DB #DB6B62 #96DB62 #62D2DB
square
#A762DB #DB6B62 #96DB62 #62D2DB
split-complementary
#A762DB #D2DB62 #62DB6B
monochromatic
#6A249E #8B30D0 #A762DB #C394E6 #DFC6F2

Accessibility & contrast

On white

3.88
#A762DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A762DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762DB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762DB#FFFFFF#000000##000000
##A762DB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FDF
Deuteranopia (green-blind)
#5382D8
Tritanopia (blue-blind)
#A07895
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a762db;
/* rgb */ color: rgb(167, 98, 219);
/* oklch */ color: oklch(62.5% 0.184 308.3);
Tailwind
colors: {
  custom: {
    50: '#c491e7',
    500: '#a762db',
    950: '#000000',
  },
}
SCSS
$custom: #a762db;
$custom-light: #c491e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a762db",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 274.215,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62522,
    "c": 0.18398,
    "h": 308.3
  },
  "luminance": 0.22065
}

Semantic roles & 50–950 ramp

primary
#A762DB
secondary
#C9E3B6
accent
#CA1B66
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A762DB

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

Preview Lab → · Contrast checker → · Palette generator →

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