#AF95CA#AF95CA

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

Color values

HEX#AF95CA
RGBrgb(175, 149, 202)
HSLhsl(269, 33%, 69%)
HSVhsv(269, 26%, 79%)
CMYKcmyk(13.4%, 26.2%, 0%, 20.8%)
CIE-LABlab(65.65, 19.88, -23.68)
CIE-LCHlch(65.65, 30.92, 310.01°)
OKLaboklab(71.16% 0.0484 -0.0647)
OKLCHoklch(71.16% 0.081 306.8)
XYZxyz(39.0853, 34.8733, 60.5378)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95CA #B0CA95
analogous
#9596CA #AF95CA #CA95CA
triadic
#AF95CA #CAAF95 #95CAAF
tetradic
#AF95CA #CA9596 #B0CA95 #95CACA
square
#AF95CA #CA9596 #B0CA95 #95CACA
split-complementary
#AF95CA #CACA95 #96CA95
monochromatic
#724C98 #906CB6 #AF95CA #CEBEDE #EDE7F3

Accessibility & contrast

On white

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

On black

7.97
#AF95CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95CA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95CA#FFFFFF#000000##000000
##AF95CA1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ECC
Deuteranopia (green-blind)
#91A0C8
Tritanopia (blue-blind)
#AB9CA8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af95ca;
/* rgb */ color: rgb(175, 149, 202);
/* oklch */ color: oklch(71.2% 0.081 306.8);
Tailwind
colors: {
  custom: {
    50: '#c7b4da',
    500: '#af95ca',
    950: '#000000',
  },
}
SCSS
$custom: #af95ca;
$custom-light: #c7b4da;
$custom-dark: #000000;
JSON
{
  "hex": "#af95ca",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 202
  },
  "hsl": {
    "h": 269.434,
    "s": 33.333,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71159,
    "c": 0.08078,
    "h": 306.8
  },
  "luminance": 0.34873
}

Semantic roles & 50–950 ramp

primary
#AF95CA
secondary
#DEE5D6
accent
#AC3974
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #AF95CA

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

Preview Lab → · Contrast checker → · Palette generator →

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