#AF75DC#AF75DC

#AF75DC is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.4% C 0.158 H 308.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF75DC
RGBrgb(175, 117, 220)
HSLhsl(274, 60%, 66%)
HSVhsv(274, 47%, 86%)
CMYKcmyk(20.5%, 46.8%, 0%, 13.7%)
CIE-LABlab(58.98, 41.76, -44.13)
CIE-LCHlch(58.98, 60.75, 313.42°)
OKLaboklab(66.35% 0.0986 -0.1231)
OKLCHoklch(66.35% 0.158 308.7)
XYZxyz(36.9563, 27.0043, 70.9618)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75DC #A2DC75
analogous
#7B75DC #AF75DC #DC75D6
triadic
#AF75DC #DCAF75 #75DCAF
tetradic
#AF75DC #DC7B75 #A2DC75 #75D6DC
square
#AF75DC #DC7B75 #A2DC75 #75D6DC
split-complementary
#AF75DC #D6DC75 #75DC7B
monochromatic
#732BAB #9344D0 #AF75DC #CBA6E8 #E8D7F5

Accessibility & contrast

On white

3.28
#AF75DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AF75DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75DC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75DC#FFFFFF#000000##000000
##AF75DC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BE0
Deuteranopia (green-blind)
#6B8FD9
Tritanopia (blue-blind)
#A9869E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af75dc;
/* rgb */ color: rgb(175, 117, 220);
/* oklch */ color: oklch(66.4% 0.158 308.7);
Tailwind
colors: {
  custom: {
    50: '#c99ee7',
    500: '#af75dc',
    950: '#000000',
  },
}
SCSS
$custom: #af75dc;
$custom-light: #c99ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#af75dc",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 273.786,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66353,
    "c": 0.15772,
    "h": 308.7
  },
  "luminance": 0.27004
}

Semantic roles & 50–950 ramp

primary
#AF75DC
secondary
#D4E7C5
accent
#C71E68
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF75DC

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

Preview Lab → · Contrast checker → · Palette generator →

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