#AF4CE0#AF4CE0

#AF4CE0 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.9% C 0.223 H 312.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF4CE0
RGBrgb(175, 76, 224)
HSLhsl(280, 70%, 59%)
HSVhsv(280, 66%, 88%)
CMYKcmyk(21.9%, 66.1%, 0%, 12.2%)
CIE-LABlab(51.46, 63.18, -58.36)
CIE-LCHlch(51.46, 86.01, 317.27°)
OKLaboklab(60.91% 0.1502 -0.1645)
OKLCHoklch(60.91% 0.223 312.4)
XYZxyz(33.7158, 19.6656, 72.5263)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4CE0 #7DE04C
analogous
#654CE0 #AF4CE0 #E04CC7
triadic
#AF4CE0 #E0AF4C #4CE0AF
tetradic
#AF4CE0 #E0654C #7DE04C #4CC7E0
square
#AF4CE0 #E0654C #7DE04C #4CC7E0
split-complementary
#AF4CE0 #C7E04C #4CE065
monochromatic
#6E1A97 #9423CC #AF4CE0 #C680E9 #DEB4F2

Accessibility & contrast

On white

4.26
#AF4CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AF4CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4CE0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4CE0#FFFFFF#000000##000000
##AF4CE01.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#3F7DDD
Tritanopia (blue-blind)
#AA6A90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af4ce0;
/* rgb */ color: rgb(175, 76, 224);
/* oklch */ color: oklch(60.9% 0.223 312.4);
Tailwind
colors: {
  custom: {
    50: '#cb85ea',
    500: '#af4ce0',
    950: '#000000',
  },
}
SCSS
$custom: #af4ce0;
$custom-light: #cb85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ce0",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 280.135,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60912,
    "c": 0.22279,
    "h": 312.4
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#AF4CE0
secondary
#BAE1A7
accent
#ED3B76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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