#A768F4#A768F4

#A768F4 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.9% C 0.204 H 301.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A768F4
RGBrgb(167, 104, 244)
HSLhsl(267, 86%, 68%)
HSVhsv(267, 57%, 96%)
CMYKcmyk(31.6%, 57.4%, 0%, 4.3%)
CIE-LABlab(56.73, 52.28, -61.16)
CIE-LCHlch(56.73, 80.46, 310.53°)
OKLaboklab(64.92% 0.1071 -0.1731)
OKLCHoklch(64.92% 0.204 301.7)
XYZxyz(37.2120, 24.6477, 88.3674)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768F4 #B5F468
analogous
#686FF4 #A768F4 #ED68F4
triadic
#A768F4 #F4A768 #68F4A7
tetradic
#A768F4 #F4686F #B5F468 #68F4ED
square
#A768F4 #F4686F #B5F468 #68F4ED
split-complementary
#A768F4 #F4ED68 #6FF468
monochromatic
#670FD2 #862FF0 #A768F4 #C8A1F8 #E9DAFC

Accessibility & contrast

On white

3.54
#A768F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#A768F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768F4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768F4#FFFFFF#000000##000000
##A768F41.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F9
Deuteranopia (green-blind)
#4287F1
Tritanopia (blue-blind)
#9884A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a768f4;
/* rgb */ color: rgb(167, 104, 244);
/* oklch */ color: oklch(64.9% 0.204 301.7);
Tailwind
colors: {
  custom: {
    50: '#c595f8',
    500: '#a768f4',
    950: '#000000',
  },
}
SCSS
$custom: #a768f4;
$custom-light: #c595f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a768f4",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 244
  },
  "hsl": {
    "h": 267,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64918,
    "c": 0.20353,
    "h": 301.7
  },
  "luminance": 0.24648
}

Semantic roles & 50–950 ramp

primary
#A768F4
secondary
#DEF1C7
accent
#E3037E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A768F4

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

Preview Lab → · Contrast checker → · Palette generator →

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