#A68BF2#A68BF2

#A68BF2 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.149 H 294.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#A68BF2
RGBrgb(166, 139, 242)
HSLhsl(256, 80%, 75%)
HSVhsv(256, 43%, 95%)
CMYKcmyk(31.4%, 42.6%, 0%, 5.1%)
CIE-LABlab(64.15, 32.27, -48.25)
CIE-LCHlch(64.15, 58.05, 303.78°)
OKLaboklab(70.38% 0.0612 -0.1354)
OKLCHoklch(70.38% 0.149 294.3)
XYZxyz(40.9815, 32.9824, 88.1943)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68BF2 #D7F28B
analogous
#8BA4F2 #A68BF2 #D98BF2
triadic
#A68BF2 #F2A68B #8BF2A6
tetradic
#A68BF2 #F28BA4 #D7F28B #8BF2D9
square
#A68BF2 #F28BA4 #D7F28B #8BF2D9
split-complementary
#A68BF2 #F2D98B #A4F28B
monochromatic
#521DE6 #7C54EC #A68BF2 #D0C2F8 #EAE3FC

Accessibility & contrast

On white

2.76
#A68BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#A68BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68BF2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68BF2#FFFFFF#000000##000000
##A68BF21.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#6F9AEF
Tritanopia (blue-blind)
#959EB3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a68bf2;
/* rgb */ color: rgb(166, 139, 242);
/* oklch */ color: oklch(70.4% 0.149 294.3);
Tailwind
colors: {
  custom: {
    50: '#c3adf7',
    500: '#a68bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a68bf2;
$custom-light: #c3adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a68bf2",
  "rgb": {
    "r": 166,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 255.728,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70383,
    "c": 0.14857,
    "h": 294.3
  },
  "luminance": 0.32983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A68BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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