#AF70CF#AF70CF

#AF70CF is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.9% C 0.151 H 313.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF70CF
RGBrgb(175, 112, 207)
HSLhsl(280, 50%, 63%)
HSVhsv(280, 46%, 81%)
CMYKcmyk(15.5%, 45.9%, 0%, 18.8%)
CIE-LABlab(57.28, 41.62, -39.48)
CIE-LCHlch(57.28, 57.37, 316.51°)
OKLaboklab(64.88% 0.1037 -0.1096)
OKLCHoklch(64.88% 0.151 313.4)
XYZxyz(34.7340, 25.2081, 62.0553)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70CF #90CF70
analogous
#7F70CF #AF70CF #CF70C0
triadic
#AF70CF #CFAF70 #70CFAF
tetradic
#AF70CF #CF7F70 #90CF70 #70C0CF
square
#AF70CF #CF7F70 #90CF70 #70C0CF
split-complementary
#AF70CF #C0CF70 #70CF7F
monochromatic
#723193 #9542C0 #AF70CF #C99EDE #E2CCEE

Accessibility & contrast

On white

3.48
#AF70CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AF70CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70CF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70CF#FFFFFF#000000##000000
##AF70CF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#6E8BCC
Tritanopia (blue-blind)
#AC7E96
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af70cf;
/* rgb */ color: rgb(175, 112, 207);
/* oklch */ color: oklch(64.9% 0.151 313.4);
Tailwind
colors: {
  custom: {
    50: '#c99ade',
    500: '#af70cf',
    950: '#000000',
  },
}
SCSS
$custom: #af70cf;
$custom-light: #c99ade;
$custom-dark: #000000;
JSON
{
  "hex": "#af70cf",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 279.789,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64879,
    "c": 0.15091,
    "h": 313.4
  },
  "luminance": 0.25207
}

Semantic roles & 50–950 ramp

primary
#AF70CF
secondary
#C8DFBC
accent
#BD285B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF70CF

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

Preview Lab → · Contrast checker → · Palette generator →

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