#AF6DDE#AF6DDE

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

Color values

HEX#AF6DDE
RGBrgb(175, 109, 222)
HSLhsl(275, 63%, 65%)
HSVhsv(275, 51%, 87%)
CMYKcmyk(21.2%, 50.9%, 0%, 12.9%)
CIE-LABlab(57.39, 46.52, -47.76)
CIE-LCHlch(57.39, 66.67, 314.25°)
OKLaboklab(65.21% 0.1097 -0.1337)
OKLCHoklch(65.21% 0.173 309.4)
XYZxyz(36.3301, 25.3257, 72.0676)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DDE #9CDE6D
analogous
#776DDE #AF6DDE #DE6DD5
triadic
#AF6DDE #DEAF6D #6DDEAF
tetradic
#AF6DDE #DE776D #9CDE6D #6DD5DE
square
#AF6DDE #DE776D #9CDE6D #6DD5DE
split-complementary
#AF6DDE #D5DE6D #6DDE77
monochromatic
#7326AA #943BD3 #AF6DDE #CA9FE9 #E6D1F5

Accessibility & contrast

On white

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

On black

6.06
#AF6DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DDE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DDE#FFFFFF#000000##000000
##AF6DDE1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E2
Deuteranopia (green-blind)
#628BDB
Tritanopia (blue-blind)
#A9809B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af6dde;
/* rgb */ color: rgb(175, 109, 222);
/* oklch */ color: oklch(65.2% 0.173 309.4);
Tailwind
colors: {
  custom: {
    50: '#c999e9',
    500: '#af6dde',
    950: '#000000',
  },
}
SCSS
$custom: #af6dde;
$custom-light: #c999e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af6dde",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 222
  },
  "hsl": {
    "h": 275.044,
    "s": 63.128,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65206,
    "c": 0.1729,
    "h": 309.4
  },
  "luminance": 0.25325
}

Semantic roles & 50–950 ramp

primary
#AF6DDE
secondary
#D0E7C0
accent
#CB1B64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF6DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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