#AF3CCF#AF3CCF

#AF3CCF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.227 H 317.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF3CCF
RGBrgb(175, 60, 207)
HSLhsl(287, 60%, 52%)
HSVhsv(287, 71%, 81%)
CMYKcmyk(15.5%, 71%, 0%, 18.8%)
CIE-LABlab(48.07, 66.35, -54.10)
CIE-LCHlch(48.07, 85.61, 320.81°)
OKLaboklab(58.15% 0.1681 -0.1519)
OKLCHoklch(58.15% 0.227 317.9)
XYZxyz(30.5559, 16.8520, 60.6626)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CCF #5CCF3C
analogous
#663CCF #AF3CCF #CF3CA5
triadic
#AF3CCF #CFAF3C #3CCFAF
tetradic
#AF3CCF #CF663C #5CCF3C #3CA5CF
square
#AF3CCF #CF663C #5CCF3C #3CA5CF
split-complementary
#AF3CCF #A5CF3C #3CCF66
monochromatic
#611D74 #8A29A5 #AF3CCF #C36DDB #D79EE7

Accessibility & contrast

On white

4.81
#AF3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF3CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CCF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CCF#FFFFFF#000000##FFFFFF
##AF3CCF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#AE5982
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3ccf;
/* rgb */ color: rgb(175, 60, 207);
/* oklch */ color: oklch(58.2% 0.227 317.9);
Tailwind
colors: {
  custom: {
    50: '#cb7cde',
    500: '#af3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #af3ccf;
$custom-light: #cb7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ccf",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 286.939,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.22661,
    "h": 317.9
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#AF3CCF
secondary
#A1D393
accent
#E44467
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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