#A768F2#A768F2

#A768F2 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.8% C 0.201 H 302.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A768F2
RGBrgb(167, 104, 242)
HSLhsl(267, 84%, 68%)
HSVhsv(267, 57%, 95%)
CMYKcmyk(31%, 57%, 0%, 5.1%)
CIE-LABlab(56.61, 51.81, -60.24)
CIE-LCHlch(56.61, 79.45, 310.70°)
OKLaboklab(64.79% 0.1071 -0.1704)
OKLCHoklch(64.79% 0.201 302.2)
XYZxyz(36.9100, 24.5269, 86.7768)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768F2 #B3F268
analogous
#686EF2 #A768F2 #EC68F2
triadic
#A768F2 #F2A768 #68F2A7
tetradic
#A768F2 #F2686E #B3F268 #68F2EC
square
#A768F2 #F2686E #B3F268 #68F2EC
split-complementary
#A768F2 #F2EC68 #6EF268
monochromatic
#6812CE #8630ED #A768F2 #C8A0F7 #E9D9FC

Accessibility & contrast

On white

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

On black

5.91
#A768F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768F2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768F2#FFFFFF#000000##000000
##A768F21.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F7
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#9884A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a768f2;
/* rgb */ color: rgb(167, 104, 242);
/* oklch */ color: oklch(64.8% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#c595f7',
    500: '#a768f2',
    950: '#000000',
  },
}
SCSS
$custom: #a768f2;
$custom-light: #c595f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a768f2",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 267.391,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64793,
    "c": 0.20124,
    "h": 302.2
  },
  "luminance": 0.24527
}

Semantic roles & 50–950 ramp

primary
#A768F2
secondary
#DDF0C6
accent
#E1057C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A768F2

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

Preview Lab → · Contrast checker → · Palette generator →

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