#AF6DDF#AF6DDF

#AF6DDF is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.3% C 0.174 H 309.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF6DDF
RGBrgb(175, 109, 223)
HSLhsl(275, 64%, 65%)
HSVhsv(275, 51%, 87%)
CMYKcmyk(21.5%, 51.1%, 0%, 12.5%)
CIE-LABlab(57.44, 46.75, -48.24)
CIE-LCHlch(57.44, 67.17, 314.10°)
OKLaboklab(65.26% 0.1098 -0.1351)
OKLCHoklch(65.26% 0.174 309.1)
XYZxyz(36.4646, 25.3795, 72.7755)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DDF #9DDF6D
analogous
#766DDF #AF6DDF #DF6DD6
triadic
#AF6DDF #DFAF6D #6DDFAF
tetradic
#AF6DDF #DF766D #9DDF6D #6DD6DF
square
#AF6DDF #DF766D #9DDF6D #6DD6DF
split-complementary
#AF6DDF #D6DF6D #6DDF76
monochromatic
#7326AC #933BD4 #AF6DDF #CB9FEA #E6D1F5

Accessibility & contrast

On white

3.46
#AF6DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AF6DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DDF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DDF#FFFFFF#000000##000000
##AF6DDF1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#628BDC
Tritanopia (blue-blind)
#A9809C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af6ddf;
/* rgb */ color: rgb(175, 109, 223);
/* oklch */ color: oklch(65.3% 0.174 309.1);
Tailwind
colors: {
  custom: {
    50: '#c999e9',
    500: '#af6ddf',
    950: '#000000',
  },
}
SCSS
$custom: #af6ddf;
$custom-light: #c999e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ddf",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 223
  },
  "hsl": {
    "h": 274.737,
    "s": 64.045,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65262,
    "c": 0.17404,
    "h": 309.1
  },
  "luminance": 0.25379
}

Semantic roles & 50–950 ramp

primary
#AF6DDF
secondary
#D1E7C1
accent
#CC1A65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF6DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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