#FFABF2#FFABF2

#FFABF2 is a very light, vivid purple. Relative luminance 0.568; OKLCH L 84.5% C 0.133 H 332.3°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#FFABF2
RGBrgb(255, 171, 242)
HSLhsl(309, 100%, 84%)
HSVhsv(309, 33%, 100%)
CMYKcmyk(0%, 32.9%, 5.1%, 0%)
CIE-LABlab(80.07, 41.35, -22.87)
CIE-LCHlch(80.07, 47.26, 331.05°)
OKLaboklab(84.46% 0.1174 -0.0615)
OKLCHoklch(84.46% 0.133 332.3)
XYZxyz(71.8290, 56.7997, 91.1671)
Luminance0.5680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFABF2 #ABFFB8
analogous
#E2ABFF #FFABF2 #FFABC8
triadic
#FFABF2 #F2FFAB #ABF2FF
tetradic
#FFABF2 #FFE2AB #ABFFB8 #ABC8FF
square
#FFABF2 #FFE2AB #ABFFB8 #ABC8FF
split-complementary
#FFABF2 #C8FFAB #ABFFE2
monochromatic
#FF31DF #FF6EE9 #FFABF2 #FFE0FA #FFE0FA

Accessibility & contrast

On white

1.70
#FFABF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#FFABF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFABF2
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFABF2#FFFFFF#000000##000000
##FFABF21.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BFF5
Deuteranopia (green-blind)
#BECBEF
Tritanopia (blue-blind)
#FFB0C5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ffabf2;
/* rgb */ color: rgb(255, 171, 242);
/* oklch */ color: oklch(84.5% 0.133 332.3);
Tailwind
colors: {
  custom: {
    50: '#ffc5f6',
    500: '#ffabf2',
    950: '#000000',
  },
}
SCSS
$custom: #ffabf2;
$custom-light: #ffc5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffabf2",
  "rgb": {
    "r": 255,
    "g": 171,
    "b": 242
  },
  "hsl": {
    "h": 309.286,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.84455,
    "c": 0.13251,
    "h": 332.3
  },
  "luminance": 0.56797
}

Semantic roles & 50–950 ramp

primary
#FFABF2
secondary
#6AE57D
accent
#E62400
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181317
muted
#868285

Preview Lab

Preview with #FFABF2

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

Preview Lab → · Contrast checker → · Palette generator →

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