#A768F6#A768F6

#A768F6 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.0% C 0.206 H 301.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A768F6
RGBrgb(167, 104, 246)
HSLhsl(267, 89%, 69%)
HSVhsv(267, 58%, 96%)
CMYKcmyk(32.1%, 57.7%, 0%, 3.5%)
CIE-LABlab(56.85, 52.77, -62.08)
CIE-LCHlch(56.85, 81.47, 310.37°)
OKLaboklab(65.05% 0.1071 -0.1758)
OKLCHoklch(65.05% 0.206 301.3)
XYZxyz(37.5173, 24.7698, 89.9754)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768F6 #B7F668
analogous
#6870F6 #A768F6 #EE68F6
triadic
#A768F6 #F6A768 #68F6A7
tetradic
#A768F6 #F66870 #B7F668 #68F6EE
square
#A768F6 #F66870 #B7F668 #68F6EE
split-complementary
#A768F6 #F6EE68 #70F668
monochromatic
#660DD7 #852EF3 #A768F6 #C9A2F9 #EADCFD

Accessibility & contrast

On white

3.53
#A768F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#A768F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768F6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768F6#FFFFFF#000000##000000
##A768F61.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2288FB
Deuteranopia (green-blind)
#4088F3
Tritanopia (blue-blind)
#9785A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a768f6;
/* rgb */ color: rgb(167, 104, 246);
/* oklch */ color: oklch(65.0% 0.206 301.3);
Tailwind
colors: {
  custom: {
    50: '#c595fa',
    500: '#a768f6',
    950: '#000000',
  },
}
SCSS
$custom: #a768f6;
$custom-light: #c595fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a768f6",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 246
  },
  "hsl": {
    "h": 266.62,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65045,
    "c": 0.20583,
    "h": 301.3
  },
  "luminance": 0.2477
}

Semantic roles & 50–950 ramp

primary
#A768F6
secondary
#DFF2C8
accent
#E50080
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A768F6

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

Preview Lab → · Contrast checker → · Palette generator →

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