#AF4BDB#AF4BDB

#AF4BDB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.219 H 313.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF4BDB
RGBrgb(175, 75, 219)
HSLhsl(282, 67%, 58%)
HSVhsv(282, 66%, 86%)
CMYKcmyk(20.1%, 65.8%, 0%, 14.1%)
CIE-LABlab(50.99, 62.59, -56.27)
CIE-LCHlch(50.99, 84.17, 318.04°)
OKLaboklab(60.48% 0.1516 -0.1584)
OKLCHoklch(60.48% 0.219 313.8)
XYZxyz(32.9793, 19.2616, 68.9847)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BDB #77DB4B
analogous
#674BDB #AF4BDB #DB4BBF
triadic
#AF4BDB #DBAF4B #4BDBAF
tetradic
#AF4BDB #DB674B #77DB4B #4BBFDB
square
#AF4BDB #DB674B #77DB4B #4BBFDB
split-complementary
#AF4BDB #BFDB4B #4BDB67
monochromatic
#6C1D8F #9327C2 #AF4BDB #C67EE5 #DCB1EF

Accessibility & contrast

On white

4.33
#AF4BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AF4BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BDB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BDB#FFFFFF#000000##000000
##AF4BDB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#437CD8
Tritanopia (blue-blind)
#AB678D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4bdb;
/* rgb */ color: rgb(175, 75, 219);
/* oklch */ color: oklch(60.5% 0.219 313.8);
Tailwind
colors: {
  custom: {
    50: '#cb84e7',
    500: '#af4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #af4bdb;
$custom-light: #cb84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bdb",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 281.667,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.21928,
    "h": 313.8
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#AF4BDB
secondary
#B6DEA4
accent
#EA3E73
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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