#F27BF6#F27BF6

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

Color values

HEX#F27BF6
RGBrgb(242, 123, 246)
HSLhsl(298, 87%, 72%)
HSVhsv(298, 50%, 96%)
CMYKcmyk(1.6%, 50%, 0%, 3.5%)
CIE-LABlab(69.26, 62.23, -41.85)
CIE-LCHlch(69.26, 74.99, 326.08°)
OKLaboklab(76.08% 0.1716 -0.1151)
OKLCHoklch(76.08% 0.207 326.1)
XYZxyz(60.3342, 39.7002, 91.6558)
Luminance0.3970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BF6 #7FF67B
analogous
#B57BF6 #F27BF6 #F67BBC
triadic
#F27BF6 #F6F27B #7BF6F2
tetradic
#F27BF6 #F6B57B #7FF67B #7BBCF6
square
#F27BF6 #F6B57B #7FF67B #7BBCF6
split-complementary
#F27BF6 #BCF67B #7BF6B5
monochromatic
#E010E7 #EC42F2 #F27BF6 #F8B4FA #FCE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F27BF6#FFFFFF#000000##000000
##F27BF61.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)
#6E9FFA
Deuteranopia (green-blind)
#92AEF2
Tritanopia (blue-blind)
#F889AE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f27bf6;
/* rgb */ color: rgb(242, 123, 246);
/* oklch */ color: oklch(76.1% 0.207 326.1);
Tailwind
colors: {
  custom: {
    50: '#f9a5f9',
    500: '#f27bf6',
    950: '#000000',
  },
}
SCSS
$custom: #f27bf6;
$custom-light: #f9a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f27bf6",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 298.049,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76081,
    "c": 0.20661,
    "h": 326.1
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F27BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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