#AF7CCD#AF7CCD

#AF7CCD is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.8% C 0.128 H 312.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AF7CCD
RGBrgb(175, 124, 205)
HSLhsl(278, 45%, 65%)
HSVhsv(278, 40%, 80%)
CMYKcmyk(14.6%, 39.5%, 0%, 19.6%)
CIE-LABlab(59.83, 34.58, -34.35)
CIE-LCHlch(59.83, 48.74, 315.19°)
OKLaboklab(66.77% 0.0861 -0.0949)
OKLCHoklch(66.77% 0.128 312.2)
XYZxyz(35.9044, 27.9377, 61.2469)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7CCD #9ACD7C
analogous
#877CCD #AF7CCD #CD7CC2
triadic
#AF7CCD #CDAF7C #7CCDAF
tetradic
#AF7CCD #CD877C #9ACD7C #7CC2CD
square
#AF7CCD #CD877C #9ACD7C #7CC2CD
split-complementary
#AF7CCD #C2CD7C #7CCD87
monochromatic
#733996 #9450BC #AF7CCD #CAA8DE #E5D5EF

Accessibility & contrast

On white

3.19
#AF7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AF7CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7CCD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7CCD#FFFFFF#000000##000000
##AF7CCD1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DD0
Deuteranopia (green-blind)
#7991CB
Tritanopia (blue-blind)
#AC879B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af7ccd;
/* rgb */ color: rgb(175, 124, 205);
/* oklch */ color: oklch(66.8% 0.128 312.2);
Tailwind
colors: {
  custom: {
    50: '#c8a3dc',
    500: '#af7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #af7ccd;
$custom-light: #c8a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ccd",
  "rgb": {
    "r": 175,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 277.778,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66767,
    "c": 0.12813,
    "h": 312.2
  },
  "luminance": 0.27937
}

Semantic roles & 50–950 ramp

primary
#AF7CCD
secondary
#CFE0C4
accent
#B82E61
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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