#A68FEC#A68FEC

#A68FEC is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.8% C 0.134 H 294.1°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A68FEC
RGBrgb(166, 143, 236)
HSLhsl(255, 71%, 74%)
HSVhsv(255, 39%, 93%)
CMYKcmyk(29.7%, 39.4%, 0%, 7.5%)
CIE-LABlab(64.81, 28.50, -43.90)
CIE-LCHlch(64.81, 52.34, 303.00°)
OKLaboklab(70.79% 0.0548 -0.1227)
OKLCHoklch(70.79% 0.134 294.1)
XYZxyz(40.6849, 33.8074, 83.7226)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68FEC #D5EC8F
analogous
#8FA7EC #A68FEC #D58FEC
triadic
#A68FEC #ECA68F #8FECA6
tetradic
#A68FEC #EC8FA7 #D5EC8F #8FECD5
square
#A68FEC #EC8FA7 #D5EC8F #8FECD5
split-complementary
#A68FEC #ECD58F #A7EC8F
monochromatic
#5326DA #7C5BE3 #A68FEC #D0C3F5 #EAE5FB

Accessibility & contrast

On white

2.71
#A68FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A68FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68FEC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68FEC#FFFFFF#000000##000000
##A68FEC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#97A0B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a68fec;
/* rgb */ color: rgb(166, 143, 236);
/* oklch */ color: oklch(70.8% 0.134 294.1);
Tailwind
colors: {
  custom: {
    50: '#c2b0f2',
    500: '#a68fec',
    950: '#000000',
  },
}
SCSS
$custom: #a68fec;
$custom-light: #c2b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a68fec",
  "rgb": {
    "r": 166,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 254.839,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70792,
    "c": 0.13444,
    "h": 294.1
  },
  "luminance": 0.33808
}

Semantic roles & 50–950 ramp

primary
#A68FEC
secondary
#ECF2D9
accent
#D312A3
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A68FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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