#AF70DE#AF70DE

#AF70DE is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.168 H 308.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF70DE
RGBrgb(175, 112, 222)
HSLhsl(274, 63%, 65%)
HSVhsv(274, 50%, 87%)
CMYKcmyk(21.2%, 49.5%, 0%, 12.9%)
CIE-LABlab(58.02, 44.92, -46.77)
CIE-LCHlch(58.02, 64.85, 313.84°)
OKLaboklab(65.67% 0.1056 -0.1308)
OKLCHoklch(65.67% 0.168 308.9)
XYZxyz(36.6556, 25.9768, 72.1761)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70DE #9FDE70
analogous
#7870DE #AF70DE #DE70D6
triadic
#AF70DE #DEAF70 #70DEAF
tetradic
#AF70DE #DE7870 #9FDE70 #70D6DE
square
#AF70DE #DE7870 #9FDE70 #70D6DE
split-complementary
#AF70DE #D6DE70 #70DE78
monochromatic
#7328AC #933ED3 #AF70DE #CBA2E9 #E7D3F5

Accessibility & contrast

On white

3.39
#AF70DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AF70DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70DE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70DE#FFFFFF#000000##000000
##AF70DE1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E2
Deuteranopia (green-blind)
#658CDB
Tritanopia (blue-blind)
#A9829D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af70de;
/* rgb */ color: rgb(175, 112, 222);
/* oklch */ color: oklch(65.7% 0.168 308.9);
Tailwind
colors: {
  custom: {
    50: '#c99be9',
    500: '#af70de',
    950: '#000000',
  },
}
SCSS
$custom: #af70de;
$custom-light: #c99be9;
$custom-dark: #000000;
JSON
{
  "hex": "#af70de",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 222
  },
  "hsl": {
    "h": 274.364,
    "s": 62.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65669,
    "c": 0.16813,
    "h": 308.9
  },
  "luminance": 0.25976
}

Semantic roles & 50–950 ramp

primary
#AF70DE
secondary
#D2E7C2
accent
#CA1B66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF70DE

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

Preview Lab → · Contrast checker → · Palette generator →

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