#AF2EBF#AF2EBF

#AF2EBF is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.228 H 323.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF2EBF
RGBrgb(175, 46, 191)
HSLhsl(293, 61%, 46%)
HSVhsv(293, 76%, 75%)
CMYKcmyk(8.4%, 75.9%, 0%, 25.1%)
CIE-LABlab(45.40, 68.26, -49.12)
CIE-LCHlch(45.40, 84.10, 324.26°)
OKLaboklab(55.94% 0.1823 -0.1372)
OKLCHoklch(55.94% 0.228 323)
XYZxyz(28.0593, 14.8312, 50.6649)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2EBF #3EBF2E
analogous
#672EBF #AF2EBF #BF2E87
triadic
#AF2EBF #BFAF2E #2EBFAF
tetradic
#AF2EBF #BF672E #3EBF2E #2E87BF
square
#AF2EBF #BF672E #3EBF2E #2E87BF
split-complementary
#AF2EBF #87BF2E #2EBF67
monochromatic
#55165C #82228E #AF2EBF #C854D6 #D886E2

Accessibility & contrast

On white

5.30
#AF2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF2EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2EBF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2EBF#FFFFFF#000000##FFFFFF
##AF2EBF1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#4770BC
Tritanopia (blue-blind)
#B24A75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af2ebf;
/* rgb */ color: rgb(175, 46, 191);
/* oklch */ color: oklch(55.9% 0.228 323.0);
Tailwind
colors: {
  custom: {
    50: '#cb75d3',
    500: '#af2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #af2ebf;
$custom-light: #cb75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2ebf",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 293.379,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55939,
    "c": 0.22815,
    "h": 323
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#AF2EBF
secondary
#86CB7E
accent
#E44455
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #AF2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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