#AF4BDD#AF4BDD

#AF4BDD is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.221 H 313.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF4BDD
RGBrgb(175, 75, 221)
HSLhsl(281, 68%, 58%)
HSVhsv(281, 66%, 87%)
CMYKcmyk(20.8%, 66.1%, 0%, 13.3%)
CIE-LABlab(51.11, 63.00, -57.21)
CIE-LCHlch(51.11, 85.10, 317.76°)
OKLaboklab(60.61% 0.1515 -0.1611)
OKLCHoklch(60.61% 0.221 313.2)
XYZxyz(33.2441, 19.3676, 70.3797)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BDD #79DD4B
analogous
#664BDD #AF4BDD #DD4BC2
triadic
#AF4BDD #DDAF4B #4BDDAF
tetradic
#AF4BDD #DD664B #79DD4B #4BC2DD
square
#AF4BDD #DD664B #79DD4B #4BC2DD
split-complementary
#AF4BDD #C2DD4B #4BDD66
monochromatic
#6D1C92 #9325C5 #AF4BDD #C67EE7 #DDB2F0

Accessibility & contrast

On white

4.31
#AF4BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AF4BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BDD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BDD#FFFFFF#000000##000000
##AF4BDD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#AA688E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4bdd;
/* rgb */ color: rgb(175, 75, 221);
/* oklch */ color: oklch(60.6% 0.221 313.2);
Tailwind
colors: {
  custom: {
    50: '#cb84e8',
    500: '#af4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #af4bdd;
$custom-light: #cb84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bdd",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 281.096,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60607,
    "c": 0.22119,
    "h": 313.2
  },
  "luminance": 0.19367
}

Semantic roles & 50–950 ramp

primary
#AF4BDD
secondary
#B7DFA5
accent
#EB3D74
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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