#A765DC#A765DC

#A765DC is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.181 H 307.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A765DC
RGBrgb(167, 101, 220)
HSLhsl(273, 63%, 63%)
HSVhsv(273, 54%, 86%)
CMYKcmyk(24.1%, 54.1%, 0%, 13.7%)
CIE-LABlab(54.75, 48.24, -50.88)
CIE-LCHlch(54.75, 70.12, 313.47°)
OKLaboklab(63.02% 0.1102 -0.143)
OKLCHoklch(63.02% 0.181 307.6)
XYZxyz(33.5057, 22.6906, 70.3109)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A765DC #9ADC65
analogous
#6B65DC #A765DC #DC65D6
triadic
#A765DC #DCA765 #65DCA7
tetradic
#A765DC #DC6B65 #9ADC65 #65D6DC
square
#A765DC #DC6B65 #9ADC65 #65D6DC
split-complementary
#A765DC #D6DC65 #65DC6B
monochromatic
#6A25A2 #8B33D1 #A765DC #C397E7 #E0C9F3

Accessibility & contrast

On white

3.79
#A765DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A765DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A765DC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A765DC#FFFFFF#000000##000000
##A765DC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80E0
Deuteranopia (green-blind)
#5584D9
Tritanopia (blue-blind)
#9F7B97
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a765dc;
/* rgb */ color: rgb(167, 101, 220);
/* oklch */ color: oklch(63.0% 0.181 307.6);
Tailwind
colors: {
  custom: {
    50: '#c493e7',
    500: '#a765dc',
    950: '#000000',
  },
}
SCSS
$custom: #a765dc;
$custom-light: #c493e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a765dc",
  "rgb": {
    "r": 167,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 273.277,
    "s": 62.963,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63022,
    "c": 0.18052,
    "h": 307.6
  },
  "luminance": 0.2269
}

Semantic roles & 50–950 ramp

primary
#A765DC
secondary
#CCE4B9
accent
#CB1B69
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A765DC

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

Preview Lab → · Contrast checker → · Palette generator →

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