#AF55BE#AF55BE

#AF55BE is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.177 H 321.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF55BE
RGBrgb(175, 85, 190)
HSLhsl(291, 45%, 54%)
HSVhsv(291, 55%, 75%)
CMYKcmyk(7.9%, 55.3%, 0%, 25.5%)
CIE-LABlab(51.07, 52.17, -39.52)
CIE-LCHlch(51.07, 65.45, 322.85°)
OKLaboklab(60.01% 0.139 -0.1096)
OKLCHoklch(60.01% 0.177 321.7)
XYZxyz(30.2209, 19.3301, 50.8444)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55BE #64BE55
analogous
#7B55BE #AF55BE #BE5599
triadic
#AF55BE #BEAF55 #55BEAF
tetradic
#AF55BE #BE7B55 #64BE55 #5599BE
square
#AF55BE #BE7B55 #64BE55 #5599BE
split-complementary
#AF55BE #99BE55 #55BE7B
monochromatic
#652A6E #8D3B9B #AF55BE #C481CF #D9AEE0

Accessibility & contrast

On white

4.32
#AF55BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF55BE#FFFFFF#000000##000000
##AF55BE1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C1
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#B16481
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af55be;
/* rgb */ color: rgb(175, 85, 190);
/* oklch */ color: oklch(60.0% 0.177 321.7);
Tailwind
colors: {
  custom: {
    50: '#c989d2',
    500: '#af55be',
    950: '#000000',
  },
}
SCSS
$custom: #af55be;
$custom-light: #c989d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af55be",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 291.429,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60015,
    "c": 0.17699,
    "h": 321.7
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#AF55BE
secondary
#A7CEA1
accent
#D45366
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF55BE

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

Preview Lab → · Contrast checker → · Palette generator →

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