#AF70DB#AF70DB

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

Color values

HEX#AF70DB
RGBrgb(175, 112, 219)
HSLhsl(275, 60%, 65%)
HSVhsv(275, 49%, 86%)
CMYKcmyk(20.1%, 48.9%, 0%, 14.1%)
CIE-LABlab(57.86, 44.25, -45.33)
CIE-LCHlch(57.86, 63.34, 314.31°)
OKLaboklab(65.51% 0.1053 -0.1266)
OKLCHoklch(65.51% 0.165 309.8)
XYZxyz(36.2572, 25.8174, 70.0773)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70DB #9CDB70
analogous
#7970DB #AF70DB #DB70D2
triadic
#AF70DB #DBAF70 #70DBAF
tetradic
#AF70DB #DB7970 #9CDB70 #70D2DB
square
#AF70DB #DB7970 #9CDB70 #70D2DB
split-complementary
#AF70DB #D2DB70 #70DB79
monochromatic
#732AA7 #943FCF #AF70DB #CAA1E7 #E6D2F4

Accessibility & contrast

On white

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

On black

6.16
#AF70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70DB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70DB#FFFFFF#000000##000000
##AF70DB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#A9829B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af70db;
/* rgb */ color: rgb(175, 112, 219);
/* oklch */ color: oklch(65.5% 0.165 309.8);
Tailwind
colors: {
  custom: {
    50: '#c99be6',
    500: '#af70db',
    950: '#000000',
  },
}
SCSS
$custom: #af70db;
$custom-light: #c99be6;
$custom-dark: #000000;
JSON
{
  "hex": "#af70db",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 275.327,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65507,
    "c": 0.16467,
    "h": 309.8
  },
  "luminance": 0.25817
}

Semantic roles & 50–950 ramp

primary
#AF70DB
secondary
#D0E6C1
accent
#C71E64
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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