#AF74CD#AF74CD

#AF74CD is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.4% C 0.142 H 313.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF74CD
RGBrgb(175, 116, 205)
HSLhsl(280, 47%, 63%)
HSVhsv(280, 43%, 80%)
CMYKcmyk(14.6%, 43.4%, 0%, 19.6%)
CIE-LABlab(58.05, 39.01, -37.14)
CIE-LCHlch(58.05, 53.86, 316.41°)
OKLaboklab(65.43% 0.0977 -0.1029)
OKLCHoklch(65.43% 0.142 313.5)
XYZxyz(34.9422, 26.0133, 60.9261)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF74CD #92CD74
analogous
#8274CD #AF74CD #CD74BF
triadic
#AF74CD #CDAF74 #74CDAF
tetradic
#AF74CD #CD8274 #92CD74 #74BFCD
square
#AF74CD #CD8274 #92CD74 #74BFCD
split-complementary
#AF74CD #BFCD74 #74CD82
monochromatic
#733592 #9547BD #AF74CD #C9A1DD #E3CEED

Accessibility & contrast

On white

3.39
#AF74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AF74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF74CD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF74CD#FFFFFF#000000##000000
##AF74CD1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#AD8197
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af74cd;
/* rgb */ color: rgb(175, 116, 205);
/* oklch */ color: oklch(65.4% 0.142 313.5);
Tailwind
colors: {
  custom: {
    50: '#c89ddc',
    500: '#af74cd',
    950: '#000000',
  },
}
SCSS
$custom: #af74cd;
$custom-light: #c89ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#af74cd",
  "rgb": {
    "r": 175,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 279.775,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65426,
    "c": 0.14186,
    "h": 313.5
  },
  "luminance": 0.26013
}

Semantic roles & 50–950 ramp

primary
#AF74CD
secondary
#C9DEBE
accent
#BA2B5B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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