#AF4BDE#AF4BDE

#AF4BDE is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.222 H 313.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF4BDE
RGBrgb(175, 75, 222)
HSLhsl(281, 69%, 58%)
HSVhsv(281, 66%, 87%)
CMYKcmyk(21.2%, 66.2%, 0%, 12.9%)
CIE-LABlab(51.18, 63.21, -57.68)
CIE-LCHlch(51.18, 85.57, 317.62°)
OKLaboklab(60.67% 0.1515 -0.1625)
OKLCHoklch(60.67% 0.222 313)
XYZxyz(33.3778, 19.4210, 71.0834)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BDE #7ADE4B
analogous
#654BDE #AF4BDE #DE4BC4
triadic
#AF4BDE #DEAF4B #4BDEAF
tetradic
#AF4BDE #DE654B #7ADE4B #4BC4DE
square
#AF4BDE #DE654B #7ADE4B #4BC4DE
split-complementary
#AF4BDE #C4DE4B #4BDE65
monochromatic
#6D1B94 #9325C7 #AF4BDE #C67FE7 #DDB2F1

Accessibility & contrast

On white

4.30
#AF4BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AF4BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BDE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BDE#FFFFFF#000000##000000
##AF4BDE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#407CDB
Tritanopia (blue-blind)
#AA688F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4bde;
/* rgb */ color: rgb(175, 75, 222);
/* oklch */ color: oklch(60.7% 0.222 313.0);
Tailwind
colors: {
  custom: {
    50: '#cb84e9',
    500: '#af4bde',
    950: '#000000',
  },
}
SCSS
$custom: #af4bde;
$custom-light: #cb84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bde",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 280.816,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60671,
    "c": 0.22215,
    "h": 313
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#AF4BDE
secondary
#B8E0A5
accent
#EC3C74
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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