#A68BF7#A68BF7

#A68BF7 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.6% C 0.155 H 293.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A68BF7
RGBrgb(166, 139, 247)
HSLhsl(255, 87%, 76%)
HSVhsv(255, 44%, 97%)
CMYKcmyk(32.8%, 43.7%, 0%, 3.1%)
CIE-LABlab(64.39, 33.54, -50.61)
CIE-LCHlch(64.39, 60.71, 303.53°)
OKLaboklab(70.65% 0.062 -0.1423)
OKLCHoklch(70.65% 0.155 293.5)
XYZxyz(41.7427, 33.2868, 92.2034)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68BF7 #DCF78B
analogous
#8BA6F7 #A68BF7 #DC8BF7
triadic
#A68BF7 #F7A68B #8BF7A6
tetradic
#A68BF7 #F78BA6 #DCF78B #8BF7DC
square
#A68BF7 #F78BA6 #DCF78B #8BF7DC
split-complementary
#A68BF7 #F7DC8B #A6F78B
monochromatic
#4E18EF #7A52F3 #A68BF7 #D2C4FB #E9E2FD

Accessibility & contrast

On white

2.74
#A68BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A68BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68BF7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68BF7#FFFFFF#000000##000000
##A68BF71.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#939FB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a68bf7;
/* rgb */ color: rgb(166, 139, 247);
/* oklch */ color: oklch(70.6% 0.155 293.5);
Tailwind
colors: {
  custom: {
    50: '#c3adfa',
    500: '#a68bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a68bf7;
$custom-light: #c3adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a68bf7",
  "rgb": {
    "r": 166,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 255,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70648,
    "c": 0.15518,
    "h": 293.5
  },
  "luminance": 0.33288
}

Semantic roles & 50–950 ramp

primary
#A68BF7
secondary
#EDF5D6
accent
#E402AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A68BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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