#AF7BD2#AF7BD2

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

Color values

HEX#AF7BD2
RGBrgb(175, 123, 210)
HSLhsl(276, 49%, 65%)
HSVhsv(276, 41%, 82%)
CMYKcmyk(16.7%, 41.4%, 0%, 17.6%)
CIE-LABlab(59.83, 36.23, -37.17)
CIE-LCHlch(59.83, 51.91, 314.26°)
OKLaboklab(66.84% 0.0885 -0.103)
OKLCHoklch(66.84% 0.136 310.7)
XYZxyz(36.3929, 27.9336, 64.4348)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BD2 #9ED27B
analogous
#837BD2 #AF7BD2 #D27BCA
triadic
#AF7BD2 #D2AF7B #7BD2AF
tetradic
#AF7BD2 #D2837B #9ED27B #7BCAD2
square
#AF7BD2 #D2837B #9ED27B #7BCAD2
split-complementary
#AF7BD2 #CAD27B #7BD283
monochromatic
#73369D #934DC2 #AF7BD2 #CBA9E2 #E6D6F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF7BD2#FFFFFF#000000##000000
##AF7BD21.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)
#698ED5
Deuteranopia (green-blind)
#7691D0
Tritanopia (blue-blind)
#AB889D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af7bd2;
/* rgb */ color: rgb(175, 123, 210);
/* oklch */ color: oklch(66.8% 0.136 310.7);
Tailwind
colors: {
  custom: {
    50: '#c8a2e0',
    500: '#af7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #af7bd2;
$custom-light: #c8a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bd2",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 275.862,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66837,
    "c": 0.13582,
    "h": 310.7
  },
  "luminance": 0.27933
}

Semantic roles & 50–950 ramp

primary
#AF7BD2
secondary
#D2E3C6
accent
#BC2964
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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