#AF61BE#AF61BE

#AF61BE is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.7% C 0.158 H 321.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF61BE
RGBrgb(175, 97, 190)
HSLhsl(290, 42%, 56%)
HSVhsv(290, 49%, 75%)
CMYKcmyk(7.9%, 48.9%, 0%, 25.5%)
CIE-LABlab(53.37, 46.10, -35.92)
CIE-LCHlch(53.37, 58.44, 322.08°)
OKLaboklab(61.71% 0.1225 -0.0992)
OKLCHoklch(61.71% 0.158 321)
XYZxyz(31.2471, 21.3823, 51.1865)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61BE #70BE61
analogous
#8161BE #AF61BE #BE619F
triadic
#AF61BE #BEAF61 #61BEAF
tetradic
#AF61BE #BE8161 #70BE61 #619FBE
square
#AF61BE #BE8161 #70BE61 #619FBE
split-complementary
#AF61BE #9FBE61 #61BE81
monochromatic
#6A3075 #9142A0 #AF61BE #C58CD0 #DBB8E2

Accessibility & contrast

On white

3.98
#AF61BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AF61BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61BE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61BE#FFFFFF#000000##000000
##AF61BE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#6A82BB
Tritanopia (blue-blind)
#B16D87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af61be;
/* rgb */ color: rgb(175, 97, 190);
/* oklch */ color: oklch(61.7% 0.158 321.0);
Tailwind
colors: {
  custom: {
    50: '#c990d2',
    500: '#af61be',
    950: '#000000',
  },
}
SCSS
$custom: #af61be;
$custom-light: #c990d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af61be",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 190
  },
  "hsl": {
    "h": 290.323,
    "s": 41.704,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.15764,
    "h": 321
  },
  "luminance": 0.21381
}

Semantic roles & 50–950 ramp

primary
#AF61BE
secondary
#B0D1AA
accent
#D2566A
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF61BE

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

Preview Lab → · Contrast checker → · Palette generator →

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