#F27DF2#F27DF2

#F27DF2 is a light, highly saturated purple. Relative luminance 0.400; OKLCH L 76.2% C 0.200 H 327.3°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#F27DF2
RGBrgb(242, 125, 242)
HSLhsl(300, 82%, 72%)
HSVhsv(300, 48%, 95%)
CMYKcmyk(0%, 48.3%, 0%, 5.1%)
CIE-LABlab(69.44, 60.59, -39.37)
CIE-LCHlch(69.44, 72.25, 326.99°)
OKLaboklab(76.16% 0.1683 -0.108)
OKLCHoklch(76.16% 0.2 327.3)
XYZxyz(59.9775, 39.9586, 88.5408)
Luminance0.3996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27DF2 #7DF27D
analogous
#B87DF2 #F27DF2 #F27DB8
triadic
#F27DF2 #F2F27D #7DF2F2
tetradic
#F27DF2 #F2B87D #7DF27D #7DB8F2
square
#F27DF2 #F2B87D #7DF27D #7DB8F2
split-complementary
#F27DF2 #B8F27D #7DF2B8
monochromatic
#DE16DE #EC45EC #F27DF2 #F8B5F8 #FCE3FC

Accessibility & contrast

On white

2.34
#F27DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#F27DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27DF2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27DF2#FFFFFF#000000##000000
##F27DF21.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#95AFEE
Tritanopia (blue-blind)
#F88AAD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f27df2;
/* rgb */ color: rgb(242, 125, 242);
/* oklch */ color: oklch(76.2% 0.200 327.3);
Tailwind
colors: {
  custom: {
    50: '#f9a7f6',
    500: '#f27df2',
    950: '#000000',
  },
}
SCSS
$custom: #f27df2;
$custom-light: #f9a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f27df2",
  "rgb": {
    "r": 242,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76161,
    "c": 0.2,
    "h": 327.3
  },
  "luminance": 0.39955
}

Semantic roles & 50–950 ramp

primary
#F27DF2
secondary
#D7F4D7
accent
#DE0707
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F27DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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