#A68EE2#A68EE2

#A68EE2 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.1% C 0.123 H 296.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#A68EE2
RGBrgb(166, 142, 226)
HSLhsl(257, 59%, 72%)
HSVhsv(257, 37%, 89%)
CMYKcmyk(26.5%, 37.2%, 0%, 11.4%)
CIE-LABlab(64.12, 26.61, -39.46)
CIE-LCHlch(64.12, 47.60, 303.99°)
OKLaboklab(70.12% 0.0542 -0.1099)
OKLCHoklch(70.12% 0.123 296.2)
XYZxyz(39.1231, 32.9436, 76.2343)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68EE2 #CAE28E
analogous
#8EA0E2 #A68EE2 #D08EE2
triadic
#A68EE2 #E2A68E #8EE2A6
tetradic
#A68EE2 #E28EA0 #CAE28E #8EE2D0
square
#A68EE2 #E28EA0 #CAE28E #8EE2D0
split-complementary
#A68EE2 #E2D08E #A0E28E
monochromatic
#5C32C3 #805DD6 #A68EE2 #CCBFEE #ECE7F9

Accessibility & contrast

On white

2.77
#A68EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#A68EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68EE2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68EE2#FFFFFF#000000##000000
##A68EE21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#7B9AE0
Tritanopia (blue-blind)
#9A9CAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a68ee2;
/* rgb */ color: rgb(166, 142, 226);
/* oklch */ color: oklch(70.1% 0.123 296.2);
Tailwind
colors: {
  custom: {
    50: '#c2afeb',
    500: '#a68ee2',
    950: '#000000',
  },
}
SCSS
$custom: #a68ee2;
$custom-light: #c2afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a68ee2",
  "rgb": {
    "r": 166,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 257.143,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70115,
    "c": 0.12254,
    "h": 296.2
  },
  "luminance": 0.32944
}

Semantic roles & 50–950 ramp

primary
#A68EE2
secondary
#EAF0DB
accent
#C71F97
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A68EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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