#F18DF2#F18DF2

#F18DF2 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.3% C 0.174 H 326.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#F18DF2
RGBrgb(241, 141, 242)
HSLhsl(299, 80%, 75%)
HSVhsv(299, 42%, 95%)
CMYKcmyk(0.4%, 41.7%, 0%, 5.1%)
CIE-LABlab(72.34, 52.46, -34.87)
CIE-LCHlch(72.34, 62.99, 326.39°)
OKLaboklab(78.29% 0.1452 -0.0953)
OKLCHoklch(78.29% 0.174 326.7)
XYZxyz(61.8263, 44.1642, 89.2551)
Luminance0.4416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F18DF2 #8EF28D
analogous
#BE8DF2 #F18DF2 #F28DC0
triadic
#F18DF2 #F2F18D #8DF2F1
tetradic
#F18DF2 #F2BE8D #8EF28D #8DC0F2
square
#F18DF2 #F2BE8D #8EF28D #8DC0F2
split-complementary
#F18DF2 #C0F28D #8DF2BE
monochromatic
#E41FE5 #EA56EC #F18DF2 #F8C4F8 #FCE4FC

Accessibility & contrast

On white

2.14
#F18DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#F18DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F18DF2
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F18DF2#FFFFFF#000000##000000
##F18DF21.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#F697B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f18df2;
/* rgb */ color: rgb(241, 141, 242);
/* oklch */ color: oklch(78.3% 0.174 326.7);
Tailwind
colors: {
  custom: {
    50: '#f7b1f6',
    500: '#f18df2',
    950: '#000000',
  },
}
SCSS
$custom: #f18df2;
$custom-light: #f7b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f18df2",
  "rgb": {
    "r": 241,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 299.406,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7829,
    "c": 0.17369,
    "h": 326.7
  },
  "luminance": 0.44161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F18DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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