#AF95CF#AF95CF

#AF95CF is a light, moderate violet. Relative luminance 0.351; OKLCH L 71.4% C 0.087 H 304.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AF95CF
RGBrgb(175, 149, 207)
HSLhsl(267, 38%, 70%)
HSVhsv(267, 28%, 81%)
CMYKcmyk(15.5%, 28%, 0%, 18.8%)
CIE-LABlab(65.84, 20.97, -26.18)
CIE-LCHlch(65.84, 33.54, 308.69°)
OKLaboklab(71.36% 0.0498 -0.0718)
OKLCHoklch(71.36% 0.087 304.8)
XYZxyz(39.6869, 35.1140, 63.7063)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95CF #B5CF95
analogous
#9598CF #AF95CF #CC95CF
triadic
#AF95CF #CFAF95 #95CFAF
tetradic
#AF95CF #CF9598 #B5CF95 #95CFCC
square
#AF95CF #CF9598 #B5CF95 #95CFCC
split-complementary
#AF95CF #CFCC95 #98CF95
monochromatic
#7049A1 #8F6BBC #AF95CF #CFBFE2 #EFE9F5

Accessibility & contrast

On white

2.62
#AF95CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AF95CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95CF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95CF#FFFFFF#000000##000000
##AF95CF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FD1
Deuteranopia (green-blind)
#8FA0CD
Tritanopia (blue-blind)
#AA9DAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af95cf;
/* rgb */ color: rgb(175, 149, 207);
/* oklch */ color: oklch(71.4% 0.087 304.8);
Tailwind
colors: {
  custom: {
    50: '#c7b4dd',
    500: '#af95cf',
    950: '#000000',
  },
}
SCSS
$custom: #af95cf;
$custom-light: #c7b4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af95cf",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 207
  },
  "hsl": {
    "h": 266.897,
    "s": 37.662,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71365,
    "c": 0.08735,
    "h": 304.8
  },
  "luminance": 0.35114
}

Semantic roles & 50–950 ramp

primary
#AF95CF
secondary
#E1E8D8
accent
#B13579
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF95CF

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

Preview Lab → · Contrast checker → · Palette generator →

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