#A765F6#A765F6

#A765F6 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.210 H 301.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A765F6
RGBrgb(167, 101, 246)
HSLhsl(267, 89%, 68%)
HSVhsv(267, 59%, 96%)
CMYKcmyk(32.1%, 58.9%, 0%, 3.5%)
CIE-LABlab(56.26, 54.32, -63.02)
CIE-LCHlch(56.26, 83.20, 310.76°)
OKLaboklab(64.62% 0.1106 -0.1785)
OKLCHoklch(64.62% 0.21 301.8)
XYZxyz(37.2207, 24.1766, 89.8765)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A765F6 #B4F665
analogous
#656BF6 #A765F6 #EF65F6
triadic
#A765F6 #F6A765 #65F6A7
tetradic
#A765F6 #F6656B #B4F665 #65F6EF
square
#A765F6 #F6656B #B4F665 #65F6EF
split-complementary
#A765F6 #F6EF65 #6BF665
monochromatic
#670CD4 #862BF3 #A765F6 #C89FF9 #E9D9FD

Accessibility & contrast

On white

3.60
#A765F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#A765F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A765F6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A765F6#FFFFFF#000000##000000
##A765F61.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1486FB
Deuteranopia (green-blind)
#3B86F3
Tritanopia (blue-blind)
#9783A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a765f6;
/* rgb */ color: rgb(167, 101, 246);
/* oklch */ color: oklch(64.6% 0.210 301.8);
Tailwind
colors: {
  custom: {
    50: '#c594fa',
    500: '#a765f6',
    950: '#000000',
  },
}
SCSS
$custom: #a765f6;
$custom-light: #c594fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a765f6",
  "rgb": {
    "r": 167,
    "g": 101,
    "b": 246
  },
  "hsl": {
    "h": 267.31,
    "s": 88.957,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64616,
    "c": 0.21003,
    "h": 301.8
  },
  "luminance": 0.24177
}

Semantic roles & 50–950 ramp

primary
#A765F6
secondary
#DDF2C5
accent
#E6007D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A765F6

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

Preview Lab → · Contrast checker → · Palette generator →

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