#A68EF2#A68EF2

#A68EF2 is a light, vivid violet. Relative luminance 0.339; OKLCH L 70.9% C 0.144 H 293.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A68EF2
RGBrgb(166, 142, 242)
HSLhsl(254, 79%, 75%)
HSVhsv(254, 41%, 95%)
CMYKcmyk(31.4%, 41.3%, 0%, 5.1%)
CIE-LABlab(64.85, 30.57, -47.13)
CIE-LCHlch(64.85, 56.18, 302.97°)
OKLaboklab(70.92% 0.0573 -0.1321)
OKLCHoklch(70.92% 0.144 293.4)
XYZxyz(41.4219, 33.8631, 88.3411)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68EF2 #DAF28E
analogous
#8EA8F2 #A68EF2 #D88EF2
triadic
#A68EF2 #F2A68E #8EF2A6
tetradic
#A68EF2 #F28EA8 #DAF28E #8EF2D8
square
#A68EF2 #F28EA8 #DAF28E #8EF2D8
split-complementary
#A68EF2 #F2D88E #A8F28E
monochromatic
#5020E5 #7B57EC #A68EF2 #D1C5F8 #E9E4FC

Accessibility & contrast

On white

2.70
#A68EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A68EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68EF2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68EF2#FFFFFF#000000##000000
##A68EF21.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#739CF0
Tritanopia (blue-blind)
#95A0B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a68ef2;
/* rgb */ color: rgb(166, 142, 242);
/* oklch */ color: oklch(70.9% 0.144 293.4);
Tailwind
colors: {
  custom: {
    50: '#c3aff7',
    500: '#a68ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a68ef2;
$custom-light: #c3aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a68ef2",
  "rgb": {
    "r": 166,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 254.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70918,
    "c": 0.14401,
    "h": 293.4
  },
  "luminance": 0.33864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A68EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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