#AF95CB#AF95CB

#AF95CB is a light, moderate violet. Relative luminance 0.349; OKLCH L 71.2% C 0.082 H 306.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AF95CB
RGBrgb(175, 149, 203)
HSLhsl(269, 34%, 69%)
HSVhsv(269, 27%, 80%)
CMYKcmyk(13.8%, 26.6%, 0%, 20.4%)
CIE-LABlab(65.69, 20.09, -24.18)
CIE-LCHlch(65.69, 31.44, 309.72°)
OKLaboklab(71.2% 0.0487 -0.0661)
OKLCHoklch(71.2% 0.082 306.4)
XYZxyz(39.2041, 34.9208, 61.1634)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95CB #B1CB95
analogous
#9596CB #AF95CB #CA95CB
triadic
#AF95CB #CBAF95 #95CBAF
tetradic
#AF95CB #CB9596 #B1CB95 #95CBCA
square
#AF95CB #CB9596 #B1CB95 #95CBCA
split-complementary
#AF95CB #CBCA95 #96CB95
monochromatic
#714C9A #906CB7 #AF95CB #CEBEDF #EDE7F3

Accessibility & contrast

On white

2.63
#AF95CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#AF95CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95CB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95CB#FFFFFF#000000##000000
##AF95CB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCD
Deuteranopia (green-blind)
#90A0C9
Tritanopia (blue-blind)
#AB9CA8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af95cb;
/* rgb */ color: rgb(175, 149, 203);
/* oklch */ color: oklch(71.2% 0.082 306.4);
Tailwind
colors: {
  custom: {
    50: '#c7b4db',
    500: '#af95cb',
    950: '#000000',
  },
}
SCSS
$custom: #af95cb;
$custom-light: #c7b4db;
$custom-dark: #000000;
JSON
{
  "hex": "#af95cb",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 203
  },
  "hsl": {
    "h": 268.889,
    "s": 34.177,
    "l": 69.02
  },
  "oklch": {
    "l": 0.712,
    "c": 0.0821,
    "h": 306.4
  },
  "luminance": 0.34921
}

Semantic roles & 50–950 ramp

primary
#AF95CB
secondary
#DEE6D6
accent
#AD3975
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF95CB

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

Preview Lab → · Contrast checker → · Palette generator →

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