#AB68FC#AB68FC

#AB68FC is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.8% C 0.213 H 301.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB68FC
RGBrgb(171, 104, 252)
HSLhsl(267, 96%, 70%)
HSVhsv(267, 59%, 99%)
CMYKcmyk(32.1%, 58.7%, 0%, 1.2%)
CIE-LABlab(57.64, 55.11, -64.10)
CIE-LCHlch(57.64, 84.53, 310.68°)
OKLaboklab(65.84% 0.112 -0.1816)
OKLCHoklch(65.84% 0.213 301.7)
XYZxyz(39.3115, 25.5867, 94.9443)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB68FC #B9FC68
analogous
#686FFC #AB68FC #F568FC
triadic
#AB68FC #FCAB68 #68FCAB
tetradic
#AB68FC #FC686F #B9FC68 #68FCF5
square
#AB68FC #FC686F #B9FC68 #68FCF5
split-complementary
#AB68FC #FCF568 #6FFC68
monochromatic
#6A05E5 #8A2CFB #AB68FC #CCA4FD #EEE0FE

Accessibility & contrast

On white

3.43
#AB68FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#AB68FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB68FC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB68FC#FFFFFF#000000##000000
##AB68FC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1789FF
Deuteranopia (green-blind)
#3D8AF9
Tritanopia (blue-blind)
#9B87A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab68fc;
/* rgb */ color: rgb(171, 104, 252);
/* oklch */ color: oklch(65.8% 0.213 301.7);
Tailwind
colors: {
  custom: {
    50: '#c896fe',
    500: '#ab68fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab68fc;
$custom-light: #c896fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab68fc",
  "rgb": {
    "r": 171,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 267.162,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65837,
    "c": 0.21338,
    "h": 301.7
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

primary
#AB68FC
secondary
#E2F5CB
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB68FC

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

Preview Lab → · Contrast checker → · Palette generator →

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