#AF7BCF#AF7BCF

#AF7BCF is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.7% C 0.132 H 311.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF7BCF
RGBrgb(175, 123, 207)
HSLhsl(277, 47%, 65%)
HSVhsv(277, 41%, 81%)
CMYKcmyk(15.5%, 40.6%, 0%, 18.8%)
CIE-LABlab(59.69, 35.57, -35.69)
CIE-LCHlch(59.69, 50.39, 314.90°)
OKLaboklab(66.69% 0.0879 -0.0988)
OKLCHoklch(66.69% 0.132 311.7)
XYZxyz(36.0227, 27.7855, 62.4849)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BCF #9BCF7B
analogous
#857BCF #AF7BCF #CF7BC5
triadic
#AF7BCF #CFAF7B #7BCFAF
tetradic
#AF7BCF #CF857B #9BCF7B #7BC5CF
square
#AF7BCF #CF857B #9BCF7B #7BC5CF
split-complementary
#AF7BCF #C5CF7B #7BCF85
monochromatic
#733798 #944EBF #AF7BCF #CAA8DF #E5D5F0

Accessibility & contrast

On white

3.20
#AF7BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AF7BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BCF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BCF#FFFFFF#000000##000000
##AF7BCF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD2
Deuteranopia (green-blind)
#7791CD
Tritanopia (blue-blind)
#AC879B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af7bcf;
/* rgb */ color: rgb(175, 123, 207);
/* oklch */ color: oklch(66.7% 0.132 311.7);
Tailwind
colors: {
  custom: {
    50: '#c8a2de',
    500: '#af7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #af7bcf;
$custom-light: #c8a2de;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bcf",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 277.143,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66692,
    "c": 0.13224,
    "h": 311.7
  },
  "luminance": 0.27785
}

Semantic roles & 50–950 ramp

primary
#AF7BCF
secondary
#CFE1C4
accent
#BA2C62
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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