#AF95CD#AF95CD

#AF95CD is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.3% C 0.085 H 305.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AF95CD
RGBrgb(175, 149, 205)
HSLhsl(268, 36%, 69%)
HSVhsv(268, 27%, 80%)
CMYKcmyk(14.6%, 27.3%, 0%, 19.6%)
CIE-LABlab(65.76, 20.53, -25.18)
CIE-LCHlch(65.76, 32.49, 309.19°)
OKLaboklab(71.28% 0.0492 -0.0689)
OKLCHoklch(71.28% 0.085 305.5)
XYZxyz(39.4440, 35.0168, 62.4267)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95CD #B3CD95
analogous
#9597CD #AF95CD #CB95CD
triadic
#AF95CD #CDAF95 #95CDAF
tetradic
#AF95CD #CD9597 #B3CD95 #95CDCB
square
#AF95CD #CD9597 #B3CD95 #95CDCB
split-complementary
#AF95CD #CDCB95 #97CD95
monochromatic
#714A9D #906BB9 #AF95CD #CEBFE1 #EEE8F4

Accessibility & contrast

On white

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

On black

8.00
#AF95CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95CD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95CD#FFFFFF#000000##000000
##AF95CD1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCF
Deuteranopia (green-blind)
#90A0CB
Tritanopia (blue-blind)
#AB9DA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af95cd;
/* rgb */ color: rgb(175, 149, 205);
/* oklch */ color: oklch(71.3% 0.085 305.5);
Tailwind
colors: {
  custom: {
    50: '#c7b4dc',
    500: '#af95cd',
    950: '#000000',
  },
}
SCSS
$custom: #af95cd;
$custom-light: #c7b4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af95cd",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 267.857,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71282,
    "c": 0.08472,
    "h": 305.5
  },
  "luminance": 0.35017
}

Semantic roles & 50–950 ramp

primary
#AF95CD
secondary
#DFE7D7
accent
#AF3777
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF95CD

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

Preview Lab → · Contrast checker → · Palette generator →

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