#A768F5#A768F5

#A768F5 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.0% C 0.205 H 301.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A768F5
RGBrgb(167, 104, 245)
HSLhsl(267, 88%, 68%)
HSVhsv(267, 58%, 96%)
CMYKcmyk(31.8%, 57.6%, 0%, 3.9%)
CIE-LABlab(56.79, 52.52, -61.62)
CIE-LCHlch(56.79, 80.97, 310.45°)
OKLaboklab(64.98% 0.1071 -0.1744)
OKLCHoklch(64.98% 0.205 301.5)
XYZxyz(37.3642, 24.7086, 89.1693)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768F5 #B6F568
analogous
#686FF5 #A768F5 #EE68F5
triadic
#A768F5 #F5A768 #68F5A7
tetradic
#A768F5 #F5686F #B6F568 #68F5EE
square
#A768F5 #F5686F #B6F568 #68F5EE
split-complementary
#A768F5 #F5EE68 #6FF568
monochromatic
#670ED5 #862FF1 #A768F5 #C8A1F9 #EADBFD

Accessibility & contrast

On white

3.53
#A768F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#A768F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768F5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768F5#FFFFFF#000000##000000
##A768F51.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2487FA
Deuteranopia (green-blind)
#4188F2
Tritanopia (blue-blind)
#9785A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a768f5;
/* rgb */ color: rgb(167, 104, 245);
/* oklch */ color: oklch(65.0% 0.205 301.5);
Tailwind
colors: {
  custom: {
    50: '#c595f9',
    500: '#a768f5',
    950: '#000000',
  },
}
SCSS
$custom: #a768f5;
$custom-light: #c595f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a768f5",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 266.809,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64981,
    "c": 0.20468,
    "h": 301.5
  },
  "luminance": 0.24709
}

Semantic roles & 50–950 ramp

primary
#A768F5
secondary
#DFF2C7
accent
#E4017F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A768F5

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

Preview Lab → · Contrast checker → · Palette generator →

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