#AF6DF1#AF6DF1

#AF6DF1 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.195 H 304.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF6DF1
RGBrgb(175, 109, 241)
HSLhsl(270, 83%, 69%)
HSVhsv(270, 55%, 95%)
CMYKcmyk(27.4%, 54.8%, 0%, 5.5%)
CIE-LABlab(58.42, 50.85, -56.74)
CIE-LCHlch(58.42, 76.19, 311.87°)
OKLaboklab(66.3% 0.1109 -0.1599)
OKLCHoklch(66.3% 0.195 304.7)
XYZxyz(39.0216, 26.4023, 86.2425)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DF1 #AFF16D
analogous
#6D6DF1 #AF6DF1 #F16DF1
triadic
#AF6DF1 #F1AF6D #6DF1AF
tetradic
#AF6DF1 #F16D6D #AFF16D #6DF1F1
square
#AF6DF1 #F16D6D #AFF16D #6DF1F1
split-complementary
#AF6DF1 #F1F16D #6DF16D
monochromatic
#7214D0 #9035EC #AF6DF1 #CEA5F6 #ECDDFC

Accessibility & contrast

On white

3.34
#AF6DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AF6DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DF1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DF1#FFFFFF#000000##000000
##AF6DF11.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF5
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#A486A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af6df1;
/* rgb */ color: rgb(175, 109, 241);
/* oklch */ color: oklch(66.3% 0.195 304.7);
Tailwind
colors: {
  custom: {
    50: '#ca99f6',
    500: '#af6df1',
    950: '#000000',
  },
}
SCSS
$custom: #af6df1;
$custom-light: #ca99f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af6df1",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 270,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66295,
    "c": 0.1946,
    "h": 304.7
  },
  "luminance": 0.26402
}

Semantic roles & 50–950 ramp

primary
#AF6DF1
secondary
#DDF1C9
accent
#DF0773
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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