#AF75DF#AF75DF

#AF75DF is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.5% C 0.161 H 307.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AF75DF
RGBrgb(175, 117, 223)
HSLhsl(273, 62%, 67%)
HSVhsv(273, 48%, 87%)
CMYKcmyk(21.5%, 47.5%, 0%, 12.5%)
CIE-LABlab(59.13, 42.43, -45.58)
CIE-LCHlch(59.13, 62.27, 312.95°)
OKLaboklab(66.51% 0.0989 -0.1273)
OKLCHoklch(66.51% 0.161 307.8)
XYZxyz(37.3571, 27.1647, 73.0730)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75DF #A5DF75
analogous
#7A75DF #AF75DF #DF75DA
triadic
#AF75DF #DFAF75 #75DFAF
tetradic
#AF75DF #DF7A75 #A5DF75 #75DADF
square
#AF75DF #DF7A75 #A5DF75 #75DADF
split-complementary
#AF75DF #DADF75 #75DF7A
monochromatic
#7329B1 #9243D3 #AF75DF #CCA7EB #E9D8F6

Accessibility & contrast

On white

3.26
#AF75DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AF75DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75DF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75DF#FFFFFF#000000##000000
##AF75DF1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#A887A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af75df;
/* rgb */ color: rgb(175, 117, 223);
/* oklch */ color: oklch(66.5% 0.161 307.8);
Tailwind
colors: {
  custom: {
    50: '#c99ee9',
    500: '#af75df',
    950: '#000000',
  },
}
SCSS
$custom: #af75df;
$custom-light: #c99ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#af75df",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 272.83,
    "s": 62.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66512,
    "c": 0.16126,
    "h": 307.8
  },
  "luminance": 0.27164
}

Semantic roles & 50–950 ramp

primary
#AF75DF
secondary
#D6E9C7
accent
#CA1B6B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF75DF

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

Preview Lab → · Contrast checker → · Palette generator →

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