#A68FEF#A68FEF

#A68FEF is a light, vivid violet. Relative luminance 0.340; OKLCH L 70.9% C 0.138 H 293.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A68FEF
RGBrgb(166, 143, 239)
HSLhsl(254, 75%, 75%)
HSVhsv(254, 40%, 94%)
CMYKcmyk(30.5%, 40.2%, 0%, 6.3%)
CIE-LABlab(64.95, 29.25, -45.33)
CIE-LCHlch(64.95, 53.95, 302.83°)
OKLaboklab(70.94% 0.0554 -0.1269)
OKLCHoklch(70.94% 0.138 293.6)
XYZxyz(41.1244, 33.9832, 86.0374)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68FEF #D8EF8F
analogous
#8FA8EF #A68FEF #D68FEF
triadic
#A68FEF #EFA68F #8FEFA6
tetradic
#A68FEF #EF8FA8 #D8EF8F #8FEFD6
square
#A68FEF #EF8FA8 #D8EF8F #8FEFD6
split-complementary
#A68FEF #EFD68F #A8EF8F
monochromatic
#5124E0 #7B59E7 #A68FEF #D1C5F7 #EAE4FB

Accessibility & contrast

On white

2.69
#A68FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A68FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68FEF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68FEF#FFFFFF#000000##000000
##A68FEF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#769CED
Tritanopia (blue-blind)
#96A0B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a68fef;
/* rgb */ color: rgb(166, 143, 239);
/* oklch */ color: oklch(70.9% 0.138 293.6);
Tailwind
colors: {
  custom: {
    50: '#c3b0f4',
    500: '#a68fef',
    950: '#000000',
  },
}
SCSS
$custom: #a68fef;
$custom-light: #c3b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a68fef",
  "rgb": {
    "r": 166,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 254.375,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70944,
    "c": 0.13847,
    "h": 293.6
  },
  "luminance": 0.33984
}

Semantic roles & 50–950 ramp

primary
#A68FEF
secondary
#ECF3D8
accent
#D70EA7
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A68FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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