#AF75CF#AF75CF

#AF75CF is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.7% C 0.142 H 312.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AF75CF
RGBrgb(175, 117, 207)
HSLhsl(279, 48%, 64%)
HSVhsv(279, 43%, 81%)
CMYKcmyk(15.5%, 43.5%, 0%, 18.8%)
CIE-LABlab(58.36, 38.89, -37.78)
CIE-LCHlch(58.36, 54.22, 315.83°)
OKLaboklab(65.69% 0.0966 -0.1048)
OKLCHoklch(65.69% 0.142 312.7)
XYZxyz(35.3011, 26.3422, 62.2443)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF75CF #95CF75
analogous
#8275CF #AF75CF #CF75C2
triadic
#AF75CF #CFAF75 #75CFAF
tetradic
#AF75CF #CF8275 #95CF75 #75C2CF
square
#AF75CF #CF8275 #95CF75 #75C2CF
split-complementary
#AF75CF #C2CF75 #75CF82
monochromatic
#733496 #9548BF #AF75CF #C9A2DF #E4D0EF

Accessibility & contrast

On white

3.35
#AF75CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AF75CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF75CF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF75CF#FFFFFF#000000##000000
##AF75CF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D2
Deuteranopia (green-blind)
#728ECC
Tritanopia (blue-blind)
#AC8298
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af75cf;
/* rgb */ color: rgb(175, 117, 207);
/* oklch */ color: oklch(65.7% 0.142 312.7);
Tailwind
colors: {
  custom: {
    50: '#c89ede',
    500: '#af75cf',
    950: '#000000',
  },
}
SCSS
$custom: #af75cf;
$custom-light: #c89ede;
$custom-dark: #000000;
JSON
{
  "hex": "#af75cf",
  "rgb": {
    "r": 175,
    "g": 117,
    "b": 207
  },
  "hsl": {
    "h": 278.667,
    "s": 48.387,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65689,
    "c": 0.14248,
    "h": 312.7
  },
  "luminance": 0.26342
}

Semantic roles & 50–950 ramp

primary
#AF75CF
secondary
#CBE0C0
accent
#BC2A5E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF75CF

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

Preview Lab → · Contrast checker → · Palette generator →

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