#A68BEE#A68BEE

#A68BEE is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.2% C 0.143 H 295.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A68BEE
RGBrgb(166, 139, 238)
HSLhsl(256, 74%, 74%)
HSVhsv(256, 42%, 93%)
CMYKcmyk(30.3%, 41.6%, 0%, 6.7%)
CIE-LABlab(63.95, 31.27, -46.35)
CIE-LCHlch(63.95, 55.91, 304.01°)
OKLaboklab(70.17% 0.0606 -0.1299)
OKLCHoklch(70.17% 0.143 295)
XYZxyz(40.3873, 32.7447, 85.0649)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68BEE #D3EE8B
analogous
#8BA2EE #A68BEE #D88BEE
triadic
#A68BEE #EEA68B #8BEEA6
tetradic
#A68BEE #EE8BA2 #D3EE8B #8BEED8
square
#A68BEE #EE8BA2 #D3EE8B #8BEED8
split-complementary
#A68BEE #EED88B #A2EE8B
monochromatic
#5421DE #7D56E6 #A68BEE #CFC0F6 #EBE4FB

Accessibility & contrast

On white

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

On black

7.55
#A68BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68BEE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68BEE#FFFFFF#000000##000000
##A68BEE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#969DB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a68bee;
/* rgb */ color: rgb(166, 139, 238);
/* oklch */ color: oklch(70.2% 0.143 295.0);
Tailwind
colors: {
  custom: {
    50: '#c3adf4',
    500: '#a68bee',
    950: '#000000',
  },
}
SCSS
$custom: #a68bee;
$custom-light: #c3adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a68bee",
  "rgb": {
    "r": 166,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 256.364,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70174,
    "c": 0.14328,
    "h": 295
  },
  "luminance": 0.32745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A68BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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