#AF70DA#AF70DA

#AF70DA is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.164 H 310.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF70DA
RGBrgb(175, 112, 218)
HSLhsl(276, 59%, 65%)
HSVhsv(276, 49%, 85%)
CMYKcmyk(19.7%, 48.6%, 0%, 14.5%)
CIE-LABlab(57.81, 44.02, -44.84)
CIE-LCHlch(57.81, 62.84, 314.47°)
OKLaboklab(65.45% 0.1052 -0.1252)
OKLCHoklch(65.45% 0.164 310)
XYZxyz(36.1259, 25.7649, 69.3861)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70DA #9BDA70
analogous
#7A70DA #AF70DA #DA70D0
triadic
#AF70DA #DAAF70 #70DAAF
tetradic
#AF70DA #DA7A70 #9BDA70 #70D0DA
square
#AF70DA #DA7A70 #9BDA70 #70D0DA
split-complementary
#AF70DA #D0DA70 #70DA7A
monochromatic
#732BA5 #943FCD #AF70DA #CAA1E7 #E5D1F3

Accessibility & contrast

On white

3.41
#AF70DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AF70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70DA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70DA#FFFFFF#000000##000000
##AF70DA1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DE
Deuteranopia (green-blind)
#688CD7
Tritanopia (blue-blind)
#AA819B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af70da;
/* rgb */ color: rgb(175, 112, 218);
/* oklch */ color: oklch(65.5% 0.164 310.0);
Tailwind
colors: {
  custom: {
    50: '#c99be6',
    500: '#af70da',
    950: '#000000',
  },
}
SCSS
$custom: #af70da;
$custom-light: #c99be6;
$custom-dark: #000000;
JSON
{
  "hex": "#af70da",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 275.66,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65453,
    "c": 0.16352,
    "h": 310
  },
  "luminance": 0.25764
}

Semantic roles & 50–950 ramp

primary
#AF70DA
secondary
#CFE5C1
accent
#C71F63
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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