#A765E1#A765E1

#A765E1 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.3% C 0.186 H 306.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A765E1
RGBrgb(167, 101, 225)
HSLhsl(272, 67%, 64%)
HSVhsv(272, 55%, 88%)
CMYKcmyk(25.8%, 55.1%, 0%, 11.8%)
CIE-LABlab(55.03, 49.39, -53.26)
CIE-LCHlch(55.03, 72.63, 312.84°)
OKLaboklab(63.32% 0.1105 -0.1499)
OKLCHoklch(63.32% 0.186 306.4)
XYZxyz(34.1778, 22.9594, 73.8506)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A765E1 #9FE165
analogous
#6965E1 #A765E1 #E165DD
triadic
#A765E1 #E1A765 #65E1A7
tetradic
#A765E1 #E16965 #9FE165 #65DDE1
square
#A765E1 #E16965 #9FE165 #65DDE1
split-complementary
#A765E1 #DDE165 #65E169
monochromatic
#6A21AA #8A32D7 #A765E1 #C498EB #E2CBF5

Accessibility & contrast

On white

3.76
#A765E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A765E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A765E1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A765E1#FFFFFF#000000##000000
##A765E11.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3981E5
Deuteranopia (green-blind)
#5184DE
Tritanopia (blue-blind)
#9E7C99
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a765e1;
/* rgb */ color: rgb(167, 101, 225);
/* oklch */ color: oklch(63.3% 0.186 306.4);
Tailwind
colors: {
  custom: {
    50: '#c493eb',
    500: '#a765e1',
    950: '#000000',
  },
}
SCSS
$custom: #a765e1;
$custom-light: #c493eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a765e1",
  "rgb": {
    "r": 167,
    "g": 101,
    "b": 225
  },
  "hsl": {
    "h": 271.935,
    "s": 67.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63317,
    "c": 0.18621,
    "h": 306.4
  },
  "luminance": 0.22959
}

Semantic roles & 50–950 ramp

primary
#A765E1
secondary
#CFE7BB
accent
#CF166D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A765E1

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

Preview Lab → · Contrast checker → · Palette generator →

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