#AF7BCA#AF7BCA

#AF7BCA is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.5% C 0.126 H 313.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF7BCA
RGBrgb(175, 123, 202)
HSLhsl(279, 43%, 64%)
HSVhsv(279, 39%, 79%)
CMYKcmyk(13.4%, 39.1%, 0%, 20.8%)
CIE-LABlab(59.48, 34.49, -33.21)
CIE-LCHlch(59.48, 47.88, 316.08°)
OKLaboklab(66.45% 0.0869 -0.0916)
OKLCHoklch(66.45% 0.126 313.5)
XYZxyz(35.4211, 27.5448, 59.3164)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BCA #96CA7B
analogous
#877BCA #AF7BCA #CA7BBD
triadic
#AF7BCA #CAAF7B #7BCAAF
tetradic
#AF7BCA #CA877B #96CA7B #7BBDCA
square
#AF7BCA #CA877B #96CA7B #7BBDCA
split-complementary
#AF7BCA #BDCA7B #7BCA87
monochromatic
#733A91 #954FB8 #AF7BCA #C9A7DC #E4D2ED

Accessibility & contrast

On white

3.23
#AF7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AF7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BCA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BCA#FFFFFF#000000##000000
##AF7BCA1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCD
Deuteranopia (green-blind)
#7A91C8
Tritanopia (blue-blind)
#AD8699
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af7bca;
/* rgb */ color: rgb(175, 123, 202);
/* oklch */ color: oklch(66.5% 0.126 313.5);
Tailwind
colors: {
  custom: {
    50: '#c8a2da',
    500: '#af7bca',
    950: '#000000',
  },
}
SCSS
$custom: #af7bca;
$custom-light: #c8a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bca",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 279.494,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66454,
    "c": 0.1263,
    "h": 313.5
  },
  "luminance": 0.27544
}

Semantic roles & 50–950 ramp

primary
#AF7BCA
secondary
#CCDEC2
accent
#B6305E
background
#FCFAFD
surface
#F8F3FA
border
#D1CDD3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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