#AF70FF#AF70FF

#AF70FF is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.6% C 0.206 H 301.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF70FF
RGBrgb(175, 112, 255)
HSLhsl(266, 100%, 72%)
HSVhsv(266, 56%, 100%)
CMYKcmyk(31.4%, 56.1%, 0%, 0%)
CIE-LABlab(59.82, 52.58, -62.24)
CIE-LCHlch(59.82, 81.48, 310.19°)
OKLaboklab(67.58% 0.1075 -0.1761)
OKLCHoklch(67.58% 0.206 301.4)
XYZxyz(41.5191, 27.9222, 97.7905)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70FF #C0FF70
analogous
#7079FF #AF70FF #F770FF
triadic
#AF70FF #FFAF70 #70FFAF
tetradic
#AF70FF #FF7079 #C0FF70 #70FFF7
square
#AF70FF #FF7079 #C0FF70 #70FFF7
split-complementary
#AF70FF #FFF770 #79FF70
monochromatic
#6C00F5 #8D33FF #AF70FF #D1ADFF #EEE0FF

Accessibility & contrast

On white

3.19
#AF70FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#AF70FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70FF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70FF#FFFFFF#000000##000000
##AF70FF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#318FFF
Deuteranopia (green-blind)
#4A8FFC
Tritanopia (blue-blind)
#9F8DAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af70ff;
/* rgb */ color: rgb(175, 112, 255);
/* oklch */ color: oklch(67.6% 0.206 301.4);
Tailwind
colors: {
  custom: {
    50: '#cb9bff',
    500: '#af70ff',
    950: '#000000',
  },
}
SCSS
$custom: #af70ff;
$custom-light: #cb9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#af70ff",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 266.434,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67583,
    "c": 0.20629,
    "h": 301.4
  },
  "luminance": 0.27922
}

Semantic roles & 50–950 ramp

primary
#AF70FF
secondary
#E8F7D3
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF70FF

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

Preview Lab → · Contrast checker → · Palette generator →

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