#A68BEF#A68BEF

#A68BEF is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.2% C 0.145 H 294.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A68BEF
RGBrgb(166, 139, 239)
HSLhsl(256, 76%, 74%)
HSVhsv(256, 42%, 94%)
CMYKcmyk(30.5%, 41.8%, 0%, 6.3%)
CIE-LABlab(64.00, 31.52, -46.83)
CIE-LCHlch(64.00, 56.45, 303.95°)
OKLaboklab(70.23% 0.0607 -0.1312)
OKLCHoklch(70.23% 0.145 294.8)
XYZxyz(40.5346, 32.8036, 85.8408)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68BEF #D4EF8B
analogous
#8BA2EF #A68BEF #D88BEF
triadic
#A68BEF #EFA68B #8BEFA6
tetradic
#A68BEF #EF8BA2 #D4EF8B #8BEFD8
square
#A68BEF #EF8BA2 #D4EF8B #8BEFD8
split-complementary
#A68BEF #EFD88B #A2EF8B
monochromatic
#531FE0 #7D55E8 #A68BEF #CFC1F6 #EAE4FB

Accessibility & contrast

On white

2.78
#A68BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A68BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68BEF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68BEF#FFFFFF#000000##000000
##A68BEF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#719AED
Tritanopia (blue-blind)
#969DB2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a68bef;
/* rgb */ color: rgb(166, 139, 239);
/* oklch */ color: oklch(70.2% 0.145 294.8);
Tailwind
colors: {
  custom: {
    50: '#c3adf4',
    500: '#a68bef',
    950: '#000000',
  },
}
SCSS
$custom: #a68bef;
$custom-light: #c3adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a68bef",
  "rgb": {
    "r": 166,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 256.2,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70226,
    "c": 0.14461,
    "h": 294.8
  },
  "luminance": 0.32804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A68BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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