#AF3EBA#AF3EBA

#AF3EBA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.206 H 324.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF3EBA
RGBrgb(175, 62, 186)
HSLhsl(295, 50%, 49%)
HSVhsv(295, 67%, 73%)
CMYKcmyk(5.9%, 66.7%, 0%, 27.1%)
CIE-LABlab(47.11, 61.70, -43.47)
CIE-LCHlch(47.11, 75.47, 324.83°)
OKLaboklab(57.07% 0.1669 -0.1209)
OKLCHoklch(57.07% 0.206 324.1)
XYZxyz(28.2640, 16.1060, 48.0649)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EBA #49BA3E
analogous
#713EBA #AF3EBA #BA3E87
triadic
#AF3EBA #BAAF3E #3EBAAF
tetradic
#AF3EBA #BA713E #49BA3E #3E87BA
square
#AF3EBA #BA713E #49BA3E #3E87BA
split-complementary
#AF3EBA #87BA3E #3EBA71
monochromatic
#591F5E #842F8C #AF3EBA #C468CD #D696DC

Accessibility & contrast

On white

4.98
#AF3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EBA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EBA#FFFFFF#000000##FFFFFF
##AF3EBA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#B25277
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3eba;
/* rgb */ color: rgb(175, 62, 186);
/* oklch */ color: oklch(57.1% 0.206 324.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ccf',
    500: '#af3eba',
    950: '#000000',
  },
}
SCSS
$custom: #af3eba;
$custom-light: #ca7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eba",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 294.677,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.20605,
    "h": 324.1
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#AF3EBA
secondary
#91C88C
accent
#DA4E5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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