#A68CFB#A68CFB

#A68CFB is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.0% C 0.159 H 292.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A68CFB
RGBrgb(166, 140, 251)
HSLhsl(254, 93%, 77%)
HSVhsv(254, 44%, 98%)
CMYKcmyk(33.9%, 44.2%, 0%, 1.6%)
CIE-LABlab(64.83, 33.99, -52.12)
CIE-LCHlch(64.83, 62.22, 303.12°)
OKLaboklab(71.04% 0.0613 -0.1466)
OKLCHoklch(71.04% 0.159 292.7)
XYZxyz(42.5120, 33.8273, 95.5376)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68CFB #E1FB8C
analogous
#8CAAFB #A68CFB #DE8CFB
triadic
#A68CFB #FBA68C #8CFBA6
tetradic
#A68CFB #FB8CAA #E1FB8C #8CFBDE
square
#A68CFB #FB8CAA #E1FB8C #8CFBDE
split-complementary
#A68CFB #FBDE8C #AAFB8C
monochromatic
#4A16F7 #7851F9 #A68CFB #D4C7FD #E8E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A68CFB#FFFFFF#000000##000000
##A68CFB1.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)
#679FFF
Deuteranopia (green-blind)
#6B9BF8
Tritanopia (blue-blind)
#92A1B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a68cfb;
/* rgb */ color: rgb(166, 140, 251);
/* oklch */ color: oklch(71.0% 0.159 292.7);
Tailwind
colors: {
  custom: {
    50: '#c3aefd',
    500: '#a68cfb',
    950: '#000000',
  },
}
SCSS
$custom: #a68cfb;
$custom-light: #c3aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#a68cfb",
  "rgb": {
    "r": 166,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 254.054,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7104,
    "c": 0.15893,
    "h": 292.7
  },
  "luminance": 0.33828
}

Semantic roles & 50–950 ramp

primary
#A68CFB
secondary
#EEF6D5
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A68CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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