#AF70FD#AF70FD

#AF70FD is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.5% C 0.204 H 301.8°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF70FD
RGBrgb(175, 112, 253)
HSLhsl(267, 97%, 72%)
HSVhsv(267, 56%, 99%)
CMYKcmyk(30.8%, 55.7%, 0%, 0.8%)
CIE-LABlab(59.70, 52.10, -61.33)
CIE-LCHlch(59.70, 80.47, 310.35°)
OKLaboklab(67.46% 0.1075 -0.1734)
OKLCHoklch(67.46% 0.204 301.8)
XYZxyz(41.1989, 27.7940, 96.1038)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70FD #BEFD70
analogous
#7078FD #AF70FD #F670FD
triadic
#AF70FD #FDAF70 #70FDAF
tetradic
#AF70FD #FD7078 #BEFD70 #70FDF6
square
#AF70FD #FD7078 #BEFD70 #70FDF6
split-complementary
#AF70FD #FDF670 #78FD70
monochromatic
#6D03EF #8D34FC #AF70FD #D1ACFE #EEE1FF

Accessibility & contrast

On white

3.20
#AF70FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AF70FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70FD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70FD#FFFFFF#000000##000000
##AF70FD1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#348FFF
Deuteranopia (green-blind)
#4C8FFA
Tritanopia (blue-blind)
#A08CAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af70fd;
/* rgb */ color: rgb(175, 112, 253);
/* oklch */ color: oklch(67.5% 0.204 301.8);
Tailwind
colors: {
  custom: {
    50: '#cb9bff',
    500: '#af70fd',
    950: '#000000',
  },
}
SCSS
$custom: #af70fd;
$custom-light: #cb9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#af70fd",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 266.809,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6746,
    "c": 0.20399,
    "h": 301.8
  },
  "luminance": 0.27794
}

Semantic roles & 50–950 ramp

primary
#AF70FD
secondary
#E6F7D2
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF70FD

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

Preview Lab → · Contrast checker → · Palette generator →

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