#AF25B0#AF25B0

#AF25B0 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.225 H 327.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF25B0
RGBrgb(175, 37, 176)
HSLhsl(300, 65%, 42%)
HSVhsv(300, 79%, 69%)
CMYKcmyk(0.6%, 79%, 0%, 31%)
CIE-LABlab(43.62, 68.35, -43.16)
CIE-LCHlch(43.62, 80.83, 327.73°)
OKLaboklab(54.38% 0.1903 -0.1198)
OKLCHoklch(54.38% 0.225 327.8)
XYZxyz(26.1769, 13.5736, 42.3071)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF25B0 #26B025
analogous
#6925B0 #AF25B0 #B0256C
triadic
#AF25B0 #B0AF25 #25B0AF
tetradic
#AF25B0 #B06925 #26B025 #256CB0
square
#AF25B0 #B06925 #26B025 #256CB0
split-complementary
#AF25B0 #6CB025 #25B069
monochromatic
#4A104B #7D1A7D #AF25B0 #D53CD6 #E06FE1

Accessibility & contrast

On white

5.65
#AF25B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF25B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF25B0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF25B0#FFFFFF#000000##FFFFFF
##AF25B01.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#4D6DAD
Tritanopia (blue-blind)
#B43E6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af25b0;
/* rgb */ color: rgb(175, 37, 176);
/* oklch */ color: oklch(54.4% 0.225 327.8);
Tailwind
colors: {
  custom: {
    50: '#cb71c8',
    500: '#af25b0',
    950: '#000000',
  },
}
SCSS
$custom: #af25b0;
$custom-light: #cb71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af25b0",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 299.568,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.2249,
    "h": 327.8
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#AF25B0
secondary
#6AC76A
accent
#E84041
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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