#A68CF8#A68CF8

#A68CF8 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.9% C 0.155 H 293.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A68CF8
RGBrgb(166, 140, 248)
HSLhsl(254, 89%, 76%)
HSVhsv(254, 44%, 97%)
CMYKcmyk(33.1%, 43.5%, 0%, 2.7%)
CIE-LABlab(64.68, 33.23, -50.71)
CIE-LCHlch(64.68, 60.63, 303.24°)
OKLaboklab(70.88% 0.0608 -0.1425)
OKLCHoklch(70.88% 0.155 293.1)
XYZxyz(42.0429, 33.6396, 93.0668)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68CF8 #DEF88C
analogous
#8CA8F8 #A68CF8 #DC8CF8
triadic
#A68CF8 #F8A68C #8CF8A6
tetradic
#A68CF8 #F88CA8 #DEF88C #8CF8DC
square
#A68CF8 #F88CA8 #DEF88C #8CF8DC
split-complementary
#A68CF8 #F8DC8C #A8F88C
monochromatic
#4D19F1 #7952F4 #A68CF8 #D3C6FC #E9E2FD

Accessibility & contrast

On white

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

On black

7.73
#A68CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68CF8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68CF8#FFFFFF#000000##000000
##A68CF81.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#93A0B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a68cf8;
/* rgb */ color: rgb(166, 140, 248);
/* oklch */ color: oklch(70.9% 0.155 293.1);
Tailwind
colors: {
  custom: {
    50: '#c3aefb',
    500: '#a68cf8',
    950: '#000000',
  },
}
SCSS
$custom: #a68cf8;
$custom-light: #c3aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#a68cf8",
  "rgb": {
    "r": 166,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 254.444,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.15498,
    "h": 293.1
  },
  "luminance": 0.3364
}

Semantic roles & 50–950 ramp

primary
#A68CF8
secondary
#EEF5D6
accent
#E500AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A68CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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