#AF70DD#AF70DD

#AF70DD is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.167 H 309.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AF70DD
RGBrgb(175, 112, 221)
HSLhsl(275, 62%, 65%)
HSVhsv(275, 49%, 87%)
CMYKcmyk(20.8%, 49.3%, 0%, 13.3%)
CIE-LABlab(57.96, 44.69, -46.29)
CIE-LCHlch(57.96, 64.35, 313.99°)
OKLaboklab(65.61% 0.1055 -0.1294)
OKLCHoklch(65.61% 0.167 309.2)
XYZxyz(36.5220, 25.9233, 71.4723)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70DD #9EDD70
analogous
#7870DD #AF70DD #DD70D4
triadic
#AF70DD #DDAF70 #70DDAF
tetradic
#AF70DD #DD7870 #9EDD70 #70D4DD
square
#AF70DD #DD7870 #9EDD70 #70D4DD
split-complementary
#AF70DD #D4DD70 #70DD78
monochromatic
#7328AA #933FD1 #AF70DD #CBA1E9 #E6D3F5

Accessibility & contrast

On white

3.40
#AF70DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AF70DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70DD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70DD#FFFFFF#000000##000000
##AF70DD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E1
Deuteranopia (green-blind)
#668CDA
Tritanopia (blue-blind)
#A9829C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af70dd;
/* rgb */ color: rgb(175, 112, 221);
/* oklch */ color: oklch(65.6% 0.167 309.2);
Tailwind
colors: {
  custom: {
    50: '#c99be8',
    500: '#af70dd',
    950: '#000000',
  },
}
SCSS
$custom: #af70dd;
$custom-light: #c99be8;
$custom-dark: #000000;
JSON
{
  "hex": "#af70dd",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 274.679,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65614,
    "c": 0.16698,
    "h": 309.2
  },
  "luminance": 0.25923
}

Semantic roles & 50–950 ramp

primary
#AF70DD
secondary
#D2E7C2
accent
#C91C65
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF70DD

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

Preview Lab → · Contrast checker → · Palette generator →

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