#AF7EE3#AF7EE3

#AF7EE3 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.2% C 0.151 H 305.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AF7EE3
RGBrgb(175, 126, 227)
HSLhsl(269, 64%, 69%)
HSVhsv(269, 44%, 89%)
CMYKcmyk(22.9%, 44.5%, 0%, 11%)
CIE-LABlab(61.29, 38.40, -44.39)
CIE-LCHlch(61.29, 58.70, 310.86°)
OKLaboklab(68.19% 0.0871 -0.1239)
OKLCHoklch(68.19% 0.152 305.1)
XYZxyz(39.0023, 29.5819, 76.3133)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7EE3 #B2E37E
analogous
#7E80E3 #AF7EE3 #E27EE3
triadic
#AF7EE3 #E3AF7E #7EE3AF
tetradic
#AF7EE3 #E37E80 #B2E37E #7EE3E2
square
#AF7EE3 #E37E80 #B2E37E #7EE3E2
split-complementary
#AF7EE3 #E3E27E #80E37E
monochromatic
#7129BD #904CD8 #AF7EE3 #CEB0EE #EDE3F9

Accessibility & contrast

On white

3.04
#AF7EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AF7EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7EE3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7EE3#FFFFFF#000000##000000
##AF7EE31.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E7
Deuteranopia (green-blind)
#7094E0
Tritanopia (blue-blind)
#A78FA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af7ee3;
/* rgb */ color: rgb(175, 126, 227);
/* oklch */ color: oklch(68.2% 0.151 305.1);
Tailwind
colors: {
  custom: {
    50: '#c9a4ec',
    500: '#af7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #af7ee3;
$custom-light: #c9a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ee3",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 269.109,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68195,
    "c": 0.1515,
    "h": 305.1
  },
  "luminance": 0.29582
}

Semantic roles & 50–950 ramp

primary
#AF7EE3
secondary
#DFEDD0
accent
#CC1975
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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