#A68FF2#A68FF2

#A68FF2 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.142 H 293.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#A68FF2
RGBrgb(166, 143, 242)
HSLhsl(254, 79%, 75%)
HSVhsv(254, 41%, 95%)
CMYKcmyk(31.4%, 40.9%, 0%, 5.1%)
CIE-LABlab(65.09, 30.01, -46.76)
CIE-LCHlch(65.09, 55.56, 302.69°)
OKLaboklab(71.1% 0.0559 -0.131)
OKLCHoklch(71.1% 0.142 293.1)
XYZxyz(41.5713, 34.1620, 88.3909)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68FF2 #DBF28F
analogous
#8FA9F2 #A68FF2 #D78FF2
triadic
#A68FF2 #F2A68F #8FF2A6
tetradic
#A68FF2 #F28FA9 #DBF28F #8FF2D7
square
#A68FF2 #F28FA9 #DBF28F #8FF2D7
split-complementary
#A68FF2 #F2D78F #A9F28F
monochromatic
#4F21E5 #7A58EC #A68FF2 #D2C6F8 #E9E4FC

Accessibility & contrast

On white

2.68
#A68FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#A68FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68FF2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68FF2#FFFFFF#000000##000000
##A68FF21.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#749CF0
Tritanopia (blue-blind)
#95A1B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a68ff2;
/* rgb */ color: rgb(166, 143, 242);
/* oklch */ color: oklch(71.1% 0.142 293.1);
Tailwind
colors: {
  custom: {
    50: '#c3b0f7',
    500: '#a68ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a68ff2;
$custom-light: #c3b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a68ff2",
  "rgb": {
    "r": 166,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 253.939,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71097,
    "c": 0.14248,
    "h": 293.1
  },
  "luminance": 0.34163
}

Semantic roles & 50–950 ramp

primary
#A68FF2
secondary
#EDF4D7
accent
#DB0AAB
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A68FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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