#AF74CF#AF74CF

#AF74CF is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.5% C 0.144 H 312.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF74CF
RGBrgb(175, 116, 207)
HSLhsl(279, 49%, 63%)
HSVhsv(279, 44%, 81%)
CMYKcmyk(15.5%, 44%, 0%, 18.8%)
CIE-LABlab(58.14, 39.44, -38.12)
CIE-LCHlch(58.14, 54.85, 315.97°)
OKLaboklab(65.53% 0.098 -0.1057)
OKLCHoklch(65.53% 0.144 312.8)
XYZxyz(35.1852, 26.1105, 62.2057)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF74CF #94CF74
analogous
#8174CF #AF74CF #CF74C1
triadic
#AF74CF #CFAF74 #74CFAF
tetradic
#AF74CF #CF8174 #94CF74 #74C1CF
square
#AF74CF #CF8174 #94CF74 #74C1CF
split-complementary
#AF74CF #C1CF74 #74CF81
monochromatic
#733395 #9547BF #AF74CF #C9A1DF #E3CFEE

Accessibility & contrast

On white

3.38
#AF74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AF74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF74CF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF74CF#FFFFFF#000000##000000
##AF74CF1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6289D2
Deuteranopia (green-blind)
#718DCC
Tritanopia (blue-blind)
#AC8198
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af74cf;
/* rgb */ color: rgb(175, 116, 207);
/* oklch */ color: oklch(65.5% 0.144 312.8);
Tailwind
colors: {
  custom: {
    50: '#c89dde',
    500: '#af74cf',
    950: '#000000',
  },
}
SCSS
$custom: #af74cf;
$custom-light: #c89dde;
$custom-dark: #000000;
JSON
{
  "hex": "#af74cf",
  "rgb": {
    "r": 175,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 278.901,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.14417,
    "h": 312.8
  },
  "luminance": 0.2611
}

Semantic roles & 50–950 ramp

primary
#AF74CF
secondary
#CBE0BF
accent
#BC2A5D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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