#AF7BED#AF7BED

#AF7BED is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.169 H 303.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AF7BED
RGBrgb(175, 123, 237)
HSLhsl(267, 76%, 71%)
HSVhsv(267, 48%, 93%)
CMYKcmyk(26.2%, 48.1%, 0%, 7.1%)
CIE-LABlab(61.13, 42.39, -50.21)
CIE-LCHlch(61.13, 65.71, 310.17°)
OKLaboklab(68.23% 0.0925 -0.1408)
OKLCHoklch(68.23% 0.169 303.3)
XYZxyz(40.0449, 29.3944, 83.6684)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BED #B9ED7B
analogous
#7B80ED #AF7BED #E87BED
triadic
#AF7BED #EDAF7B #7BEDAF
tetradic
#AF7BED #ED7B80 #B9ED7B #7BEDE8
square
#AF7BED #ED7B80 #B9ED7B #7BEDE8
split-complementary
#AF7BED #EDE87B #80ED7B
monochromatic
#6F1DD1 #8E45E6 #AF7BED #D0B1F4 #EFE4FB

Accessibility & contrast

On white

3.05
#AF7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AF7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BED
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BED#FFFFFF#000000##000000
##AF7BED1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F1
Deuteranopia (green-blind)
#6793EA
Tritanopia (blue-blind)
#A48FA9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af7bed;
/* rgb */ color: rgb(175, 123, 237);
/* oklch */ color: oklch(68.2% 0.169 303.3);
Tailwind
colors: {
  custom: {
    50: '#c9a2f3',
    500: '#af7bed',
    950: '#000000',
  },
}
SCSS
$custom: #af7bed;
$custom-light: #c9a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bed",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 267.368,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68234,
    "c": 0.1685,
    "h": 303.3
  },
  "luminance": 0.29394
}

Semantic roles & 50–950 ramp

primary
#AF7BED
secondary
#E3F1D2
accent
#D80D7C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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