#A68FEB#A68FEB

#A68FEB is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.7% C 0.133 H 294.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A68FEB
RGBrgb(166, 143, 235)
HSLhsl(255, 70%, 74%)
HSVhsv(255, 39%, 92%)
CMYKcmyk(29.4%, 39.1%, 0%, 7.8%)
CIE-LABlab(64.76, 28.26, -43.42)
CIE-LCHlch(64.76, 51.81, 303.05°)
OKLaboklab(70.74% 0.0546 -0.1214)
OKLCHoklch(70.74% 0.133 294.2)
XYZxyz(40.5400, 33.7495, 82.9596)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68FEB #D4EB8F
analogous
#8FA6EB #A68FEB #D48FEB
triadic
#A68FEB #EBA68F #8FEBA6
tetradic
#A68FEB #EB8FA6 #D4EB8F #8FEBD4
square
#A68FEB #EB8FA6 #D4EB8F #8FEBD4
split-complementary
#A68FEB #EBD48F #A6EB8F
monochromatic
#5327D8 #7D5BE2 #A68FEB #CFC3F4 #EAE5FA

Accessibility & contrast

On white

2.71
#A68FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A68FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68FEB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68FEB#FFFFFF#000000##000000
##A68FEB1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEF
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#979FB2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a68feb;
/* rgb */ color: rgb(166, 143, 235);
/* oklch */ color: oklch(70.7% 0.133 294.2);
Tailwind
colors: {
  custom: {
    50: '#c2b0f2',
    500: '#a68feb',
    950: '#000000',
  },
}
SCSS
$custom: #a68feb;
$custom-light: #c2b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a68feb",
  "rgb": {
    "r": 166,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 255,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70741,
    "c": 0.13309,
    "h": 294.2
  },
  "luminance": 0.3375
}

Semantic roles & 50–950 ramp

primary
#A68FEB
secondary
#ECF2D9
accent
#D214A2
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A68FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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