#AF4BDF#AF4BDF

#AF4BDF is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.223 H 312.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF4BDF
RGBrgb(175, 75, 223)
HSLhsl(281, 70%, 58%)
HSVhsv(281, 66%, 87%)
CMYKcmyk(21.5%, 66.4%, 0%, 12.5%)
CIE-LABlab(51.24, 63.41, -58.15)
CIE-LCHlch(51.24, 86.03, 317.48°)
OKLaboklab(60.73% 0.1514 -0.1639)
OKLCHoklch(60.73% 0.223 312.7)
XYZxyz(33.5122, 19.4748, 71.7914)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BDF #7BDF4B
analogous
#654BDF #AF4BDF #DF4BC5
triadic
#AF4BDF #DFAF4B #4BDFAF
tetradic
#AF4BDF #DF654B #7BDF4B #4BC5DF
square
#AF4BDF #DF654B #7BDF4B #4BC5DF
split-complementary
#AF4BDF #C5DF4B #4BDF65
monochromatic
#6D1B95 #9324C9 #AF4BDF #C67FE8 #DDB3F1

Accessibility & contrast

On white

4.29
#AF4BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AF4BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BDF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BDF#FFFFFF#000000##000000
##AF4BDF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#3F7CDC
Tritanopia (blue-blind)
#AA698F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4bdf;
/* rgb */ color: rgb(175, 75, 223);
/* oklch */ color: oklch(60.7% 0.223 312.7);
Tailwind
colors: {
  custom: {
    50: '#cb84ea',
    500: '#af4bdf',
    950: '#000000',
  },
}
SCSS
$custom: #af4bdf;
$custom-light: #cb84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bdf",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 280.541,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.2231,
    "h": 312.7
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#AF4BDF
secondary
#B9E0A6
accent
#ED3B75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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