#F27AEB#F27AEB

#F27AEB is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.4% C 0.199 H 329.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#F27AEB
RGBrgb(242, 122, 235)
HSLhsl(304, 82%, 71%)
HSVhsv(304, 50%, 95%)
CMYKcmyk(0%, 49.6%, 2.9%, 5.1%)
CIE-LABlab(68.60, 60.81, -36.82)
CIE-LCHlch(68.60, 71.09, 328.81°)
OKLaboklab(75.44% 0.1712 -0.1007)
OKLCHoklch(75.44% 0.199 329.5)
XYZxyz(58.5722, 38.7979, 82.9848)
Luminance0.3879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27AEB #7AF281
analogous
#BD7AF2 #F27AEB #F27AAF
triadic
#F27AEB #EBF27A #7AEBF2
tetradic
#F27AEB #F2BD7A #7AF281 #7AAFF2
square
#F27AEB #F2BD7A #7AF281 #7AAFF2
split-complementary
#F27AEB #AFF27A #7AF2BD
monochromatic
#DC16D1 #ED42E3 #F27AEB #F7B2F3 #FCE3FB

Accessibility & contrast

On white

2.40
#F27AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#F27AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27AEB
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27AEB#FFFFFF#000000##000000
##F27AEB1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#96ADE7
Tritanopia (blue-blind)
#F985A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f27aeb;
/* rgb */ color: rgb(242, 122, 235);
/* oklch */ color: oklch(75.4% 0.199 329.5);
Tailwind
colors: {
  custom: {
    50: '#f9a5f1',
    500: '#f27aeb',
    950: '#000000',
  },
}
SCSS
$custom: #f27aeb;
$custom-light: #f9a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f27aeb",
  "rgb": {
    "r": 242,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 303.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75445,
    "c": 0.19864,
    "h": 329.5
  },
  "luminance": 0.38794
}

Semantic roles & 50–950 ramp

primary
#F27AEB
secondary
#D4F3D6
accent
#DF1307
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F27AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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