#A68CE3#A68CE3

#A68CE3 is a light, vivid violet. Relative luminance 0.324; OKLCH L 69.8% C 0.127 H 296.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A68CE3
RGBrgb(166, 140, 227)
HSLhsl(258, 61%, 72%)
HSVhsv(258, 38%, 89%)
CMYKcmyk(26.9%, 38.3%, 0%, 11%)
CIE-LABlab(63.68, 27.99, -40.70)
CIE-LCHlch(63.68, 49.40, 304.52°)
OKLaboklab(69.8% 0.0572 -0.1135)
OKLCHoklch(69.8% 0.127 296.7)
XYZxyz(38.9658, 32.4088, 76.8608)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68CE3 #C9E38C
analogous
#8C9EE3 #A68CE3 #D28CE3
triadic
#A68CE3 #E3A68C #8CE3A6
tetradic
#A68CE3 #E38C9E #C9E38C #8CE3D2
square
#A68CE3 #E38C9E #C9E38C #8CE3D2
split-complementary
#A68CE3 #E3D28C #9EE38C
monochromatic
#5C30C5 #805BD7 #A68CE3 #CCBDEF #ECE6F9

Accessibility & contrast

On white

2.81
#A68CE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#A68CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68CE3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68CE3#FFFFFF#000000##000000
##A68CE31.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE6
Deuteranopia (green-blind)
#7999E1
Tritanopia (blue-blind)
#9A9BAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a68ce3;
/* rgb */ color: rgb(166, 140, 227);
/* oklch */ color: oklch(69.8% 0.127 296.7);
Tailwind
colors: {
  custom: {
    50: '#c2aeec',
    500: '#a68ce3',
    950: '#000000',
  },
}
SCSS
$custom: #a68ce3;
$custom-light: #c2aeec;
$custom-dark: #000000;
JSON
{
  "hex": "#a68ce3",
  "rgb": {
    "r": 166,
    "g": 140,
    "b": 227
  },
  "hsl": {
    "h": 257.931,
    "s": 60.839,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69798,
    "c": 0.12705,
    "h": 296.7
  },
  "luminance": 0.32409
}

Semantic roles & 50–950 ramp

primary
#A68CE3
secondary
#EAF0DA
accent
#C91D95
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A68CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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