#AF6DDD#AF6DDD

#AF6DDD is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.2% C 0.172 H 309.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AF6DDD
RGBrgb(175, 109, 221)
HSLhsl(275, 62%, 65%)
HSVhsv(275, 51%, 87%)
CMYKcmyk(20.8%, 50.7%, 0%, 13.3%)
CIE-LABlab(57.34, 46.30, -47.28)
CIE-LCHlch(57.34, 66.18, 314.40°)
OKLaboklab(65.15% 0.1096 -0.1323)
OKLCHoklch(65.15% 0.172 309.6)
XYZxyz(36.1965, 25.2723, 71.3638)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DDD #9BDD6D
analogous
#776DDD #AF6DDD #DD6DD3
triadic
#AF6DDD #DDAF6D #6DDDAF
tetradic
#AF6DDD #DD776D #9BDD6D #6DD3DD
square
#AF6DDD #DD776D #9BDD6D #6DD3DD
split-complementary
#AF6DDD #D3DD6D #6DDD77
monochromatic
#7327A8 #943BD1 #AF6DDD #CA9FE9 #E5D0F4

Accessibility & contrast

On white

3.47
#AF6DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AF6DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DDD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DDD#FFFFFF#000000##000000
##AF6DDD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E1
Deuteranopia (green-blind)
#638BDA
Tritanopia (blue-blind)
#A9809B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af6ddd;
/* rgb */ color: rgb(175, 109, 221);
/* oklch */ color: oklch(65.2% 0.172 309.6);
Tailwind
colors: {
  custom: {
    50: '#c999e8',
    500: '#af6ddd',
    950: '#000000',
  },
}
SCSS
$custom: #af6ddd;
$custom-light: #c999e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ddd",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 221
  },
  "hsl": {
    "h": 275.357,
    "s": 62.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65151,
    "c": 0.17176,
    "h": 309.6
  },
  "luminance": 0.25272
}

Semantic roles & 50–950 ramp

primary
#AF6DDD
secondary
#CFE6C0
accent
#CA1C63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF6DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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