#AF5FCE#AF5FCE

#AF5FCE is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.3% C 0.177 H 315.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF5FCE
RGBrgb(175, 95, 206)
HSLhsl(283, 53%, 59%)
HSVhsv(283, 54%, 81%)
CMYKcmyk(15%, 53.9%, 0%, 19.2%)
CIE-LABlab(53.77, 50.38, -44.45)
CIE-LCHlch(53.77, 67.19, 318.58°)
OKLaboklab(62.26% 0.127 -0.124)
OKLCHoklch(62.26% 0.177 315.7)
XYZxyz(32.9103, 21.7556, 60.8462)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5FCE #7ECE5F
analogous
#785FCE #AF5FCE #CE5FB6
triadic
#AF5FCE #CEAF5F #5FCEAF
tetradic
#AF5FCE #CE785F #7ECE5F #5FB6CE
square
#AF5FCE #CE785F #7ECE5F #5FB6CE
split-complementary
#AF5FCE #B6CE5F #5FCE78
monochromatic
#6E2A89 #9438B8 #AF5FCE #C68EDC #DEBDEB

Accessibility & contrast

On white

3.92
#AF5FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AF5FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5FCE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5FCE#FFFFFF#000000##000000
##AF5FCE1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD2
Deuteranopia (green-blind)
#5F83CB
Tritanopia (blue-blind)
#AD718E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5fce;
/* rgb */ color: rgb(175, 95, 206);
/* oklch */ color: oklch(62.3% 0.177 315.7);
Tailwind
colors: {
  custom: {
    50: '#c98fdd',
    500: '#af5fce',
    950: '#000000',
  },
}
SCSS
$custom: #af5fce;
$custom-light: #c98fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af5fce",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 283.243,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62261,
    "c": 0.17748,
    "h": 315.7
  },
  "luminance": 0.21755
}

Semantic roles & 50–950 ramp

primary
#AF5FCE
secondary
#BBDAAF
accent
#DD4B74
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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