#FC7AEB#FC7AEB

#FC7AEB is a light, highly saturated purple. Relative luminance 0.406; OKLCH L 76.7% C 0.205 H 332.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#FC7AEB
RGBrgb(252, 122, 235)
HSLhsl(308, 96%, 73%)
HSVhsv(308, 52%, 99%)
CMYKcmyk(0%, 51.6%, 6.7%, 1.2%)
CIE-LABlab(69.91, 63.58, -34.69)
CIE-LCHlch(69.91, 72.43, 331.38°)
OKLaboklab(76.68% 0.182 -0.0945)
OKLCHoklch(76.68% 0.205 332.6)
XYZxyz(62.0996, 40.6168, 83.1501)
Luminance0.4061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7AEB #7AFC8B
analogous
#CC7AFC #FC7AEB #FC7AAA
triadic
#FC7AEB #EBFC7A #7AEBFC
tetradic
#FC7AEB #FCCC7A #7AFC8B #7AAAFC
square
#FC7AEB #FCCC7A #7AFC8B #7AAAFC
split-complementary
#FC7AEB #AAFC7A #7AFCCC
monochromatic
#F606D7 #FB3EE2 #FC7AEB #FDB6F4 #FEE1FB

Accessibility & contrast

On white

2.30
#FC7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#FC7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7AEB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7AEB#FFFFFF#000000##000000
##FC7AEB1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#9DB2E7
Tritanopia (blue-blind)
#FF83A8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fc7aeb;
/* rgb */ color: rgb(252, 122, 235);
/* oklch */ color: oklch(76.7% 0.205 332.6);
Tailwind
colors: {
  custom: {
    50: '#ffa5f1',
    500: '#fc7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #fc7aeb;
$custom-light: #ffa5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7aeb",
  "rgb": {
    "r": 252,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 307.846,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76678,
    "c": 0.20504,
    "h": 332.6
  },
  "luminance": 0.40613
}

Semantic roles & 50–950 ramp

primary
#FC7AEB
secondary
#D4F7D9
accent
#E61E00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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