#AF70FB#AF70FB

#AF70FB is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.3% C 0.202 H 302.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AF70FB
RGBrgb(175, 112, 251)
HSLhsl(267, 95%, 71%)
HSVhsv(267, 55%, 98%)
CMYKcmyk(30.3%, 55.4%, 0%, 1.6%)
CIE-LABlab(59.59, 51.62, -60.41)
CIE-LCHlch(59.59, 79.46, 310.52°)
OKLaboklab(67.34% 0.1075 -0.1707)
OKLCHoklch(67.34% 0.202 302.2)
XYZxyz(40.8820, 27.6673, 94.4346)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70FB #BCFB70
analogous
#7076FB #AF70FB #F470FB
triadic
#AF70FB #FBAF70 #70FBAF
tetradic
#AF70FB #FB7076 #BCFB70 #70FBF4
square
#AF70FB #FB7076 #BCFB70 #70FBF4
split-complementary
#AF70FB #FBF470 #76FB70
monochromatic
#6E07EA #8E34F9 #AF70FB #D0ACFD #EEE1FE

Accessibility & contrast

On white

3.21
#AF70FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AF70FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70FB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70FB#FFFFFF#000000##000000
##AF70FB1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#378EFF
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#A08BAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af70fb;
/* rgb */ color: rgb(175, 112, 251);
/* oklch */ color: oklch(67.3% 0.202 302.2);
Tailwind
colors: {
  custom: {
    50: '#cb9bfd',
    500: '#af70fb',
    950: '#000000',
  },
}
SCSS
$custom: #af70fb;
$custom-light: #cb9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#af70fb",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 267.194,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67338,
    "c": 0.20168,
    "h": 302.2
  },
  "luminance": 0.27667
}

Semantic roles & 50–950 ramp

primary
#AF70FB
secondary
#E5F6D1
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF70FB

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

Preview Lab → · Contrast checker → · Palette generator →

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