#A768F7#A768F7

#A768F7 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.1% C 0.207 H 301.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A768F7
RGBrgb(167, 104, 247)
HSLhsl(266, 90%, 69%)
HSVhsv(266, 58%, 97%)
CMYKcmyk(32.4%, 57.9%, 0%, 3.1%)
CIE-LABlab(56.91, 53.01, -62.53)
CIE-LCHlch(56.91, 81.98, 310.29°)
OKLaboklab(65.11% 0.1071 -0.1771)
OKLCHoklch(65.11% 0.207 301.2)
XYZxyz(37.6712, 24.8313, 90.7859)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768F7 #B8F768
analogous
#6871F7 #A768F7 #EF68F7
triadic
#A768F7 #F7A768 #68F7A7
tetradic
#A768F7 #F76871 #B8F768 #68F7EF
square
#A768F7 #F76871 #B8F768 #68F7EF
split-complementary
#A768F7 #F7EF68 #71F768
monochromatic
#660CD9 #852EF4 #A768F7 #C9A2FA #EBDCFD

Accessibility & contrast

On white

3.52
#A768F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#A768F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768F7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768F7#FFFFFF#000000##000000
##A768F71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F88FC
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#9785A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a768f7;
/* rgb */ color: rgb(167, 104, 247);
/* oklch */ color: oklch(65.1% 0.207 301.2);
Tailwind
colors: {
  custom: {
    50: '#c596fb',
    500: '#a768f7',
    950: '#000000',
  },
}
SCSS
$custom: #a768f7;
$custom-light: #c596fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a768f7",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 266.434,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65108,
    "c": 0.20697,
    "h": 301.2
  },
  "luminance": 0.24832
}

Semantic roles & 50–950 ramp

primary
#A768F7
secondary
#E0F3C8
accent
#E60080
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A768F7

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

Preview Lab → · Contrast checker → · Palette generator →

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