#AF95EF#AF95EF

#AF95EF is a light, vivid violet. Relative luminance 0.368; OKLCH L 72.8% C 0.130 H 296.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AF95EF
RGBrgb(175, 149, 239)
HSLhsl(257, 74%, 76%)
HSVhsv(257, 38%, 94%)
CMYKcmyk(26.8%, 37.7%, 0%, 6.3%)
CIE-LABlab(67.16, 28.36, -41.81)
CIE-LCHlch(67.16, 50.52, 304.15°)
OKLaboklab(72.81% 0.0576 -0.1165)
OKLCHoklch(72.81% 0.13 296.3)
XYZxyz(44.0029, 36.8404, 86.4373)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95EF #D5EF95
analogous
#95A8EF #AF95EF #DC95EF
triadic
#AF95EF #EFAF95 #95EFAF
tetradic
#AF95EF #EF95A8 #D5EF95 #95EFDC
square
#AF95EF #EF95A8 #D5EF95 #95EFDC
split-complementary
#AF95EF #EFDC95 #A8EF95
monochromatic
#5F2BDF #8760E7 #AF95EF #D7CAF7 #EBE4FB

Accessibility & contrast

On white

2.51
#AF95EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AF95EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95EF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95EF#FFFFFF#000000##000000
##AF95EF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F2
Deuteranopia (green-blind)
#81A2ED
Tritanopia (blue-blind)
#A2A4B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af95ef;
/* rgb */ color: rgb(175, 149, 239);
/* oklch */ color: oklch(72.8% 0.130 296.3);
Tailwind
colors: {
  custom: {
    50: '#c8b4f4',
    500: '#af95ef',
    950: '#000000',
  },
}
SCSS
$custom: #af95ef;
$custom-light: #c8b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af95ef",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 257.333,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72808,
    "c": 0.13001,
    "h": 296.3
  },
  "luminance": 0.36841
}

Semantic roles & 50–950 ramp

primary
#AF95EF
secondary
#EBF3D8
accent
#D6109D
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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