#A768F1#A768F1

#A768F1 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.7% C 0.200 H 302.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A768F1
RGBrgb(167, 104, 241)
HSLhsl(268, 83%, 68%)
HSVhsv(268, 57%, 95%)
CMYKcmyk(30.7%, 56.8%, 0%, 5.5%)
CIE-LABlab(56.55, 51.57, -59.78)
CIE-LCHlch(56.55, 78.94, 310.78°)
OKLaboklab(64.73% 0.1071 -0.169)
OKLCHoklch(64.73% 0.2 302.4)
XYZxyz(36.7602, 24.4669, 85.9880)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768F1 #B2F168
analogous
#686EF1 #A768F1 #EB68F1
triadic
#A768F1 #F1A768 #68F1A7
tetradic
#A768F1 #F1686E #B2F168 #68F1EB
square
#A768F1 #F1686E #B2F168 #68F1EB
split-complementary
#A768F1 #F1EB68 #6EF168
monochromatic
#6813CC #8630EC #A768F1 #C8A0F6 #E8D8FB

Accessibility & contrast

On white

3.56
#A768F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A768F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768F1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768F1#FFFFFF#000000##000000
##A768F11.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B87F5
Deuteranopia (green-blind)
#4687EE
Tritanopia (blue-blind)
#9983A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a768f1;
/* rgb */ color: rgb(167, 104, 241);
/* oklch */ color: oklch(64.7% 0.200 302.4);
Tailwind
colors: {
  custom: {
    50: '#c595f6',
    500: '#a768f1',
    950: '#000000',
  },
}
SCSS
$custom: #a768f1;
$custom-light: #c595f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a768f1",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 241
  },
  "hsl": {
    "h": 267.591,
    "s": 83.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64731,
    "c": 0.20009,
    "h": 302.4
  },
  "luminance": 0.24467
}

Semantic roles & 50–950 ramp

primary
#A768F1
secondary
#DCF0C5
accent
#DF067B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A768F1

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

Preview Lab → · Contrast checker → · Palette generator →

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