#F27AFA#F27AFA

#F27AFA is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.1% C 0.212 H 325.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#F27AFA
RGBrgb(242, 122, 250)
HSLhsl(296, 93%, 73%)
HSVhsv(296, 51%, 98%)
CMYKcmyk(3.2%, 51.2%, 0%, 2%)
CIE-LABlab(69.26, 63.41, -44.04)
CIE-LCHlch(69.26, 77.20, 325.22°)
OKLaboklab(76.14% 0.1734 -0.1214)
OKLCHoklch(76.14% 0.212 325)
XYZxyz(60.8314, 39.7016, 94.8829)
Luminance0.3970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27AFA #82FA7A
analogous
#B27AFA #F27AFA #FA7AC2
triadic
#F27AFA #FAF27A #7AFAF2
tetradic
#F27AFA #FAB27A #82FA7A #7AC2FA
square
#F27AFA #FAB27A #82FA7A #7AC2FA
split-complementary
#F27AFA #C2FA7A #7AFAB2
monochromatic
#E209F1 #EC3FF8 #F27AFA #F8B5FC #FCE2FE

Accessibility & contrast

On white

2.35
#F27AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#F27AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27AFA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27AFA#FFFFFF#000000##000000
##F27AFA1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#8FAEF6
Tritanopia (blue-blind)
#F78AAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f27afa;
/* rgb */ color: rgb(242, 122, 250);
/* oklch */ color: oklch(76.1% 0.212 325.0);
Tailwind
colors: {
  custom: {
    50: '#f9a5fc',
    500: '#f27afa',
    950: '#000000',
  },
}
SCSS
$custom: #f27afa;
$custom-light: #f9a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f27afa",
  "rgb": {
    "r": 242,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 296.25,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7614,
    "c": 0.21168,
    "h": 325
  },
  "luminance": 0.39698
}

Semantic roles & 50–950 ramp

primary
#F27AFA
secondary
#D7F6D5
accent
#E6000E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F27AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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