#F27FF4#F27FF4

#F27FF4 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.5% C 0.199 H 326.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#F27FF4
RGBrgb(242, 127, 244)
HSLhsl(299, 84%, 73%)
HSVhsv(299, 48%, 96%)
CMYKcmyk(0.8%, 48%, 0%, 4.3%)
CIE-LABlab(69.89, 59.98, -39.76)
CIE-LCHlch(69.89, 71.97, 326.46°)
OKLaboklab(76.52% 0.166 -0.1091)
OKLCHoklch(76.52% 0.199 326.7)
XYZxyz(60.5353, 40.5908, 90.2166)
Luminance0.4059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FF4 #81F47F
analogous
#B77FF4 #F27FF4 #F47FBC
triadic
#F27FF4 #F4F27F #7FF4F2
tetradic
#F27FF4 #F4B77F #81F47F #7FBCF4
square
#F27FF4 #F4B77F #81F47F #7FBCF4
split-complementary
#F27FF4 #BCF47F #7FF4B7
monochromatic
#E114E5 #EC47EF #F27FF4 #F8B7F9 #FCE3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F27FF4#FFFFFF#000000##000000
##F27FF41.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)
#74A1F8
Deuteranopia (green-blind)
#95B0F0
Tritanopia (blue-blind)
#F88CAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f27ff4;
/* rgb */ color: rgb(242, 127, 244);
/* oklch */ color: oklch(76.5% 0.199 326.7);
Tailwind
colors: {
  custom: {
    50: '#f9a8f8',
    500: '#f27ff4',
    950: '#000000',
  },
}
SCSS
$custom: #f27ff4;
$custom-light: #f9a8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ff4",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 298.974,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7652,
    "c": 0.19864,
    "h": 326.7
  },
  "luminance": 0.40588
}

Semantic roles & 50–950 ramp

primary
#F27FF4
secondary
#D7F5D6
accent
#E10509
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F27FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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