#A68CF2#A68CF2

#A68CF2 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.6% C 0.147 H 294.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A68CF2
RGBrgb(166, 140, 242)
HSLhsl(255, 80%, 75%)
HSVhsv(255, 42%, 95%)
CMYKcmyk(31.4%, 42.1%, 0%, 5.1%)
CIE-LABlab(64.38, 31.71, -47.88)
CIE-LCHlch(64.38, 57.43, 303.52°)
OKLaboklab(70.56% 0.0599 -0.1343)
OKLCHoklch(70.56% 0.147 294)
XYZxyz(41.1270, 33.2733, 88.2428)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68CF2 #D8F28C
analogous
#8CA5F2 #A68CF2 #D98CF2
triadic
#A68CF2 #F2A68C #8CF2A6
tetradic
#A68CF2 #F28CA5 #D8F28C #8CF2D9
square
#A68CF2 #F28CA5 #D8F28C #8CF2D9
split-complementary
#A68CF2 #F2D98C #A5F28C
monochromatic
#511EE6 #7B55EC #A68CF2 #D1C3F8 #EAE4FC

Accessibility & contrast

On white

2.74
#A68CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A68CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68CF2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68CF2#FFFFFF#000000##000000
##A68CF21.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#959FB3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a68cf2;
/* rgb */ color: rgb(166, 140, 242);
/* oklch */ color: oklch(70.6% 0.147 294.0);
Tailwind
colors: {
  custom: {
    50: '#c3aef7',
    500: '#a68cf2',
    950: '#000000',
  },
}
SCSS
$custom: #a68cf2;
$custom-light: #c3aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a68cf2",
  "rgb": {
    "r": 166,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 255.294,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7056,
    "c": 0.14705,
    "h": 294
  },
  "luminance": 0.33274
}

Semantic roles & 50–950 ramp

primary
#A68CF2
secondary
#ECF4D7
accent
#DC0AA6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A68CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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