#AF70FC#AF70FC

#AF70FC is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.4% C 0.203 H 302.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AF70FC
RGBrgb(175, 112, 252)
HSLhsl(267, 96%, 71%)
HSVhsv(267, 56%, 99%)
CMYKcmyk(30.6%, 55.6%, 0%, 1.2%)
CIE-LABlab(59.64, 51.86, -60.87)
CIE-LCHlch(59.64, 79.96, 310.43°)
OKLaboklab(67.4% 0.1075 -0.172)
OKLCHoklch(67.4% 0.203 302)
XYZxyz(41.0400, 27.7305, 95.2670)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70FC #BDFC70
analogous
#7077FC #AF70FC #F570FC
triadic
#AF70FC #FCAF70 #70FCAF
tetradic
#AF70FC #FC7077 #BDFC70 #70FCF5
square
#AF70FC #FC7077 #BDFC70 #70FCF5
split-complementary
#AF70FC #FCF570 #77FC70
monochromatic
#6D05ED #8D34FB #AF70FC #D1ACFD #EEE1FE

Accessibility & contrast

On white

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

On black

6.55
#AF70FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70FC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70FC#FFFFFF#000000##000000
##AF70FC1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#4D8FF9
Tritanopia (blue-blind)
#A08CAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af70fc;
/* rgb */ color: rgb(175, 112, 252);
/* oklch */ color: oklch(67.4% 0.203 302.0);
Tailwind
colors: {
  custom: {
    50: '#cb9bfe',
    500: '#af70fc',
    950: '#000000',
  },
}
SCSS
$custom: #af70fc;
$custom-light: #cb9bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#af70fc",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 267,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67399,
    "c": 0.20283,
    "h": 302
  },
  "luminance": 0.27731
}

Semantic roles & 50–950 ramp

primary
#AF70FC
secondary
#E6F6D2
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF70FC

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

Preview Lab → · Contrast checker → · Palette generator →

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