#F27EF2#F27EF2

#F27EF2 is a light, vivid purple. Relative luminance 0.402; OKLCH L 76.3% C 0.198 H 327.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#F27EF2
RGBrgb(242, 126, 242)
HSLhsl(300, 82%, 72%)
HSVhsv(300, 48%, 95%)
CMYKcmyk(0%, 47.9%, 0%, 5.1%)
CIE-LABlab(69.62, 60.11, -39.08)
CIE-LCHlch(69.62, 71.70, 326.97°)
OKLaboklab(76.29% 0.167 -0.1072)
OKLCHoklch(76.29% 0.198 327.3)
XYZxyz(60.1048, 40.2130, 88.5832)
Luminance0.4021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27EF2 #7EF27E
analogous
#B87EF2 #F27EF2 #F27EB8
triadic
#F27EF2 #F2F27E #7EF2F2
tetradic
#F27EF2 #F2B87E #7EF27E #7EB8F2
square
#F27EF2 #F2B87E #7EF27E #7EB8F2
split-complementary
#F27EF2 #B8F27E #7EF2B8
monochromatic
#DF16DF #EC46EC #F27EF2 #F8B6F8 #FCE3FC

Accessibility & contrast

On white

2.32
#F27EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#F27EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27EF2
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27EF2#FFFFFF#000000##000000
##F27EF21.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f27ef2;
/* rgb */ color: rgb(242, 126, 242);
/* oklch */ color: oklch(76.3% 0.198 327.3);
Tailwind
colors: {
  custom: {
    50: '#f9a7f6',
    500: '#f27ef2',
    950: '#000000',
  },
}
SCSS
$custom: #f27ef2;
$custom-light: #f9a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ef2",
  "rgb": {
    "r": 242,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.76294,
    "c": 0.19844,
    "h": 327.3
  },
  "luminance": 0.4021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F27EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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