#F17BEC#F17BEC

#F17BEC is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.5% C 0.197 H 328.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#F17BEC
RGBrgb(241, 123, 236)
HSLhsl(303, 81%, 71%)
HSVhsv(303, 49%, 95%)
CMYKcmyk(0%, 49%, 2.1%, 5.5%)
CIE-LABlab(68.70, 60.23, -37.23)
CIE-LCHlch(68.70, 70.81, 328.28°)
OKLaboklab(75.5% 0.169 -0.1019)
OKLCHoklch(75.5% 0.197 328.9)
XYZxyz(58.4982, 38.9262, 83.7729)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17BEC #7BF180
analogous
#BB7BF1 #F17BEC #F17BB1
triadic
#F17BEC #ECF17B #7BECF1
tetradic
#F17BEC #F1BB7B #7BF180 #7BB1F1
square
#F17BEC #F1BB7B #7BF180 #7BB1F1
split-complementary
#F17BEC #B1F17B #7BF1BB
monochromatic
#DA17D2 #EB44E4 #F17BEC #F7B2F4 #FCE3FB

Accessibility & contrast

On white

2.39
#F17BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#F17BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17BEC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17BEC#FFFFFF#000000##000000
##F17BEC1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF0
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#F886A9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f17bec;
/* rgb */ color: rgb(241, 123, 236);
/* oklch */ color: oklch(75.5% 0.197 328.9);
Tailwind
colors: {
  custom: {
    50: '#f8a5f2',
    500: '#f17bec',
    950: '#000000',
  },
}
SCSS
$custom: #f17bec;
$custom-light: #f8a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f17bec",
  "rgb": {
    "r": 241,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 302.542,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75501,
    "c": 0.19732,
    "h": 328.9
  },
  "luminance": 0.38923
}

Semantic roles & 50–950 ramp

primary
#F17BEC
secondary
#D5F3D6
accent
#DD1108
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F17BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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