#A68BFB#A68BFB

#A68BFB is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.9% C 0.160 H 292.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A68BFB
RGBrgb(166, 139, 251)
HSLhsl(254, 93%, 76%)
HSVhsv(254, 45%, 98%)
CMYKcmyk(33.9%, 44.6%, 0%, 1.6%)
CIE-LABlab(64.59, 34.56, -52.48)
CIE-LCHlch(64.59, 62.84, 303.36°)
OKLaboklab(70.86% 0.0625 -0.1477)
OKLCHoklch(70.86% 0.16 292.9)
XYZxyz(42.3666, 33.5364, 95.4891)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68BFB #E0FB8B
analogous
#8BA8FB #A68BFB #DE8BFB
triadic
#A68BFB #FBA68B #8BFBA6
tetradic
#A68BFB #FB8BA8 #E0FB8B #8BFBDE
square
#A68BFB #FB8BA8 #E0FB8B #8BFBDE
split-complementary
#A68BFB #FBDE8B #A8FB8B
monochromatic
#4B15F7 #7950F9 #A68BFB #D3C6FD #E8E1FE

Accessibility & contrast

On white

2.72
#A68BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A68BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68BFB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68BFB#FFFFFF#000000##000000
##A68BFB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#699BF8
Tritanopia (blue-blind)
#92A0B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a68bfb;
/* rgb */ color: rgb(166, 139, 251);
/* oklch */ color: oklch(70.9% 0.160 292.9);
Tailwind
colors: {
  custom: {
    50: '#c3adfd',
    500: '#a68bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a68bfb;
$custom-light: #c3adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a68bfb",
  "rgb": {
    "r": 166,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 254.464,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70865,
    "c": 0.16042,
    "h": 292.9
  },
  "luminance": 0.33537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A68BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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