#F18EF2#F18EF2

#F18EF2 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.4% C 0.172 H 326.7°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#F18EF2
RGBrgb(241, 142, 242)
HSLhsl(299, 79%, 75%)
HSVhsv(299, 41%, 95%)
CMYKcmyk(0.4%, 41.3%, 0%, 5.1%)
CIE-LABlab(72.54, 51.95, -34.57)
CIE-LCHlch(72.54, 62.40, 326.36°)
OKLaboklab(78.44% 0.1438 -0.0944)
OKLCHoklch(78.44% 0.172 326.7)
XYZxyz(61.9744, 44.4605, 89.3045)
Luminance0.4446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F18EF2 #8FF28E
analogous
#BF8EF2 #F18EF2 #F28EC1
triadic
#F18EF2 #F2F18E #8EF2F1
tetradic
#F18EF2 #F2BF8E #8FF28E #8EC1F2
square
#F18EF2 #F2BF8E #8FF28E #8EC1F2
split-complementary
#F18EF2 #C1F28E #8EF2BF
monochromatic
#E320E5 #EA57EC #F18EF2 #F8C5F8 #FCE4FC

Accessibility & contrast

On white

2.12
#F18EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#F18EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F18EF2
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F18EF2#FFFFFF#000000##000000
##F18EF21.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#F698B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f18ef2;
/* rgb */ color: rgb(241, 142, 242);
/* oklch */ color: oklch(78.4% 0.172 326.7);
Tailwind
colors: {
  custom: {
    50: '#f7b1f6',
    500: '#f18ef2',
    950: '#000000',
  },
}
SCSS
$custom: #f18ef2;
$custom-light: #f7b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f18ef2",
  "rgb": {
    "r": 241,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 299.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78437,
    "c": 0.17204,
    "h": 326.7
  },
  "luminance": 0.44458
}

Semantic roles & 50–950 ramp

primary
#F18EF2
secondary
#D8F4D7
accent
#DC0A0C
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F18EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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