#AF6DF9#AF6DF9

#AF6DF9 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.8% C 0.204 H 303.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AF6DF9
RGBrgb(175, 109, 249)
HSLhsl(268, 92%, 70%)
HSVhsv(268, 56%, 98%)
CMYKcmyk(29.7%, 56.2%, 0%, 2.4%)
CIE-LABlab(58.87, 52.72, -60.45)
CIE-LCHlch(58.87, 80.21, 311.10°)
OKLaboklab(66.78% 0.1111 -0.1708)
OKLCHoklch(66.78% 0.204 303)
XYZxyz(40.2428, 26.8908, 92.6745)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DF9 #B7F96D
analogous
#6D71F9 #AF6DF9 #F56DF9
triadic
#AF6DF9 #F9AF6D #6DF9AF
tetradic
#AF6DF9 #F96D71 #B7F96D #6DF9F5
square
#AF6DF9 #F96D71 #B7F96D #6DF9F5
split-complementary
#AF6DF9 #F9F56D #71F96D
monochromatic
#7009E2 #8F32F7 #AF6DF9 #CFA8FB #EFE2FE

Accessibility & contrast

On white

3.29
#AF6DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AF6DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DF9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DF9#FFFFFF#000000##000000
##AF6DF91.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFE
Deuteranopia (green-blind)
#4C8DF6
Tritanopia (blue-blind)
#A189A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af6df9;
/* rgb */ color: rgb(175, 109, 249);
/* oklch */ color: oklch(66.8% 0.204 303.0);
Tailwind
colors: {
  custom: {
    50: '#cb99fc',
    500: '#af6df9',
    950: '#000000',
  },
}
SCSS
$custom: #af6df9;
$custom-light: #cb99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af6df9",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 249
  },
  "hsl": {
    "h": 268.286,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66777,
    "c": 0.20372,
    "h": 303
  },
  "luminance": 0.26891
}

Semantic roles & 50–950 ramp

primary
#AF6DF9
secondary
#E2F4CD
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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