#AF75DD#AF75DD

#AF75DD is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.4% C 0.159 H 308.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF75DD
RGBrgb(175, 117, 221)
HSLhsl(273, 60%, 66%)
HSVhsv(273, 47%, 87%)
CMYKcmyk(20.8%, 47.1%, 0%, 13.3%)
CIE-LABlab(59.03, 41.98, -44.61)
CIE-LCHlch(59.03, 61.26, 313.26°)
OKLaboklab(66.41% 0.0987 -0.1245)
OKLCHoklch(66.41% 0.159 308.4)
XYZxyz(37.0891, 27.0575, 71.6613)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75DD #A3DD75
analogous
#7B75DD #AF75DD #DD75D7
triadic
#AF75DD #DDAF75 #75DDAF
tetradic
#AF75DD #DD7B75 #A3DD75 #75D7DD
square
#AF75DD #DD7B75 #A3DD75 #75D7DD
split-complementary
#AF75DD #D7DD75 #75DD7B
monochromatic
#732BAD #9344D1 #AF75DD #CBA6E9 #E8D7F5

Accessibility & contrast

On white

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

On black

6.41
#AF75DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75DD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75DD#FFFFFF#000000##000000
##AF75DD1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE1
Deuteranopia (green-blind)
#6B8FDA
Tritanopia (blue-blind)
#A9869F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af75dd;
/* rgb */ color: rgb(175, 117, 221);
/* oklch */ color: oklch(66.4% 0.159 308.4);
Tailwind
colors: {
  custom: {
    50: '#c99ee8',
    500: '#af75dd',
    950: '#000000',
  },
}
SCSS
$custom: #af75dd;
$custom-light: #c99ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#af75dd",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 221
  },
  "hsl": {
    "h": 273.462,
    "s": 60.465,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66406,
    "c": 0.1589,
    "h": 308.4
  },
  "luminance": 0.27057
}

Semantic roles & 50–950 ramp

primary
#AF75DD
secondary
#D5E8C6
accent
#C81D69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF75DD

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

Preview Lab → · Contrast checker → · Palette generator →

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