#AF4FCA#AF4FCA

#AF4FCA is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.9% C 0.198 H 318.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF4FCA
RGBrgb(175, 79, 202)
HSLhsl(287, 54%, 55%)
HSVhsv(287, 61%, 79%)
CMYKcmyk(13.4%, 60.9%, 0%, 20.8%)
CIE-LABlab(50.65, 57.37, -47.10)
CIE-LCHlch(50.65, 74.23, 320.61°)
OKLaboklab(59.92% 0.1473 -0.1316)
OKLCHoklch(59.92% 0.198 318.2)
XYZxyz(31.1344, 18.9715, 57.8875)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FCA #6ACA4F
analogous
#714FCA #AF4FCA #CA4FA8
triadic
#AF4FCA #CAAF4F #4FCAAF
tetradic
#AF4FCA #CA714F #6ACA4F #4FA8CA
square
#AF4FCA #CA714F #6ACA4F #4FA8CA
split-complementary
#AF4FCA #A8CA4F #4FCA71
monochromatic
#67257A #8F33A9 #AF4FCA #C47ED8 #DAADE6

Accessibility & contrast

On white

4.38
#AF4FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AF4FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FCA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FCA#FFFFFF#000000##000000
##AF4FCA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#AF6485
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4fca;
/* rgb */ color: rgb(175, 79, 202);
/* oklch */ color: oklch(59.9% 0.198 318.2);
Tailwind
colors: {
  custom: {
    50: '#ca86db',
    500: '#af4fca',
    950: '#000000',
  },
}
SCSS
$custom: #af4fca;
$custom-light: #ca86db;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fca",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 286.829,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59917,
    "c": 0.19752,
    "h": 318.2
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#AF4FCA
secondary
#ACD4A1
accent
#DD4B6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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