#AB70F2#AB70F2

#AB70F2 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.190 H 302.5°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB70F2
RGBrgb(171, 112, 242)
HSLhsl(267, 83%, 69%)
HSVhsv(267, 54%, 95%)
CMYKcmyk(29.3%, 53.7%, 0%, 5.1%)
CIE-LABlab(58.66, 48.52, -56.94)
CIE-LCHlch(58.66, 74.81, 310.43°)
OKLaboklab(66.39% 0.1022 -0.1606)
OKLCHoklch(66.39% 0.19 302.5)
XYZxyz(38.6121, 26.6570, 87.0983)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB70F2 #B7F270
analogous
#7076F2 #AB70F2 #EC70F2
triadic
#AB70F2 #F2AB70 #70F2AB
tetradic
#AB70F2 #F27076 #B7F270 #70F2EC
square
#AB70F2 #F27076 #B7F270 #70F2EC
split-complementary
#AB70F2 #F2EC70 #76F270
monochromatic
#6B13D4 #8A38ED #AB70F2 #CCA8F7 #EDE0FC

Accessibility & contrast

On white

3.32
#AB70F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AB70F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB70F2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB70F2#FFFFFF#000000##000000
##AB70F21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#538DEF
Tritanopia (blue-blind)
#9E89A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab70f2;
/* rgb */ color: rgb(171, 112, 242);
/* oklch */ color: oklch(66.4% 0.190 302.5);
Tailwind
colors: {
  custom: {
    50: '#c79bf7',
    500: '#ab70f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab70f2;
$custom-light: #c79bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab70f2",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 267.231,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66392,
    "c": 0.19038,
    "h": 302.5
  },
  "luminance": 0.26657
}

Semantic roles & 50–950 ramp

primary
#AB70F2
secondary
#E1F2CC
accent
#E0067D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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