#A768FB#A768FB

#A768FB is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.4% C 0.212 H 300.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A768FB
RGBrgb(167, 104, 251)
HSLhsl(266, 95%, 70%)
HSVhsv(266, 59%, 98%)
CMYKcmyk(33.5%, 58.6%, 0%, 1.6%)
CIE-LABlab(57.15, 53.97, -64.36)
CIE-LCHlch(57.15, 83.99, 309.98°)
OKLaboklab(65.36% 0.107 -0.1825)
OKLCHoklch(65.36% 0.212 300.4)
XYZxyz(38.2951, 25.0809, 94.0716)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768FB #BCFB68
analogous
#6873FB #A768FB #F068FB
triadic
#A768FB #FBA768 #68FBA7
tetradic
#A768FB #FB6873 #BCFB68 #68FBF0
square
#A768FB #FB6873 #BCFB68 #68FBF0
split-complementary
#A768FB #FBF068 #73FB68
monochromatic
#6506E3 #842CF9 #A768FB #CAA4FD #ECDFFE

Accessibility & contrast

On white

3.49
#A768FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A768FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768FB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768FB#FFFFFF#000000##000000
##A768FB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1489FF
Deuteranopia (green-blind)
#3988F8
Tritanopia (blue-blind)
#9587A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a768fb;
/* rgb */ color: rgb(167, 104, 251);
/* oklch */ color: oklch(65.4% 0.212 300.4);
Tailwind
colors: {
  custom: {
    50: '#c696fd',
    500: '#a768fb',
    950: '#000000',
  },
}
SCSS
$custom: #a768fb;
$custom-light: #c696fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a768fb",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 265.714,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65364,
    "c": 0.21154,
    "h": 300.4
  },
  "luminance": 0.25081
}

Semantic roles & 50–950 ramp

primary
#A768FB
secondary
#E2F4CA
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A768FB

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

Preview Lab → · Contrast checker → · Palette generator →

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