#AF70F5#AF70F5

#AF70F5 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.195 H 303.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF70F5
RGBrgb(175, 112, 245)
HSLhsl(268, 87%, 70%)
HSVhsv(268, 54%, 96%)
CMYKcmyk(28.6%, 54.3%, 0%, 3.9%)
CIE-LABlab(59.25, 50.20, -57.64)
CIE-LCHlch(59.25, 76.44, 311.06°)
OKLaboklab(66.98% 0.1073 -0.1625)
OKLCHoklch(66.98% 0.195 303.4)
XYZxyz(39.9511, 27.2949, 89.5322)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70F5 #B6F570
analogous
#7074F5 #AF70F5 #F170F5
triadic
#AF70F5 #F5AF70 #70F5AF
tetradic
#AF70F5 #F57074 #B6F570 #70F5F1
square
#AF70F5 #F57074 #B6F570 #70F5F1
split-complementary
#AF70F5 #F5F170 #74F570
monochromatic
#700FDB #8F37F1 #AF70F5 #CFA9F9 #EFE2FD

Accessibility & contrast

On white

3.25
#AF70F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AF70F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70F5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70F5#FFFFFF#000000##000000
##AF70F51.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#548EF2
Tritanopia (blue-blind)
#A289A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af70f5;
/* rgb */ color: rgb(175, 112, 245);
/* oklch */ color: oklch(67.0% 0.195 303.4);
Tailwind
colors: {
  custom: {
    50: '#ca9bf9',
    500: '#af70f5',
    950: '#000000',
  },
}
SCSS
$custom: #af70f5;
$custom-light: #ca9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#af70f5",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 268.421,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.66978,
    "c": 0.19475,
    "h": 303.4
  },
  "luminance": 0.27295
}

Semantic roles & 50–950 ramp

primary
#AF70F5
secondary
#E1F3CE
accent
#E30279
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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