#A768FD#A768FD

#A768FD is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.5% C 0.214 H 300.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A768FD
RGBrgb(167, 104, 253)
HSLhsl(265, 97%, 70%)
HSVhsv(265, 59%, 99%)
CMYKcmyk(34%, 58.9%, 0%, 0.8%)
CIE-LABlab(57.28, 54.46, -65.27)
CIE-LCHlch(57.28, 85.00, 309.84°)
OKLaboklab(65.49% 0.107 -0.1851)
OKLCHoklch(65.49% 0.214 300)
XYZxyz(38.6120, 25.2077, 95.7408)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768FD #BEFD68
analogous
#6874FD #A768FD #F168FD
triadic
#A768FD #FDA768 #68FDA7
tetradic
#A768FD #FD6874 #BEFD68 #68FDF1
square
#A768FD #FD6874 #BEFD68 #68FDF1
split-complementary
#A768FD #FDF168 #74FD68
monochromatic
#6403E8 #842CFC #A768FD #CAA4FE #EDE1FF

Accessibility & contrast

On white

3.48
#A768FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A768FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768FD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768FD#FFFFFF#000000##000000
##A768FD1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B89FF
Deuteranopia (green-blind)
#3688FA
Tritanopia (blue-blind)
#9587A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a768fd;
/* rgb */ color: rgb(167, 104, 253);
/* oklch */ color: oklch(65.5% 0.214 300.0);
Tailwind
colors: {
  custom: {
    50: '#c696ff',
    500: '#a768fd',
    950: '#000000',
  },
}
SCSS
$custom: #a768fd;
$custom-light: #c696ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a768fd",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 265.369,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.65493,
    "c": 0.21382,
    "h": 300
  },
  "luminance": 0.25208
}

Semantic roles & 50–950 ramp

primary
#A768FD
secondary
#E4F5CC
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A768FD

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

Preview Lab → · Contrast checker → · Palette generator →

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