#F18BF2#F18BF2

#F18BF2 is a light, vivid purple. Relative luminance 0.436; OKLCH L 78.0% C 0.177 H 326.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#F18BF2
RGBrgb(241, 139, 242)
HSLhsl(299, 80%, 75%)
HSVhsv(299, 43%, 95%)
CMYKcmyk(0.4%, 42.6%, 0%, 5.1%)
CIE-LABlab(71.95, 53.46, -35.48)
CIE-LCHlch(71.95, 64.16, 326.43°)
OKLaboklab(78% 0.148 -0.097)
OKLCHoklch(78% 0.177 326.8)
XYZxyz(61.5341, 43.5798, 89.1577)
Luminance0.4358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F18BF2 #8CF28B
analogous
#BD8BF2 #F18BF2 #F28BC0
triadic
#F18BF2 #F2F18B #8BF2F1
tetradic
#F18BF2 #F2BD8B #8CF28B #8BC0F2
square
#F18BF2 #F2BD8B #8CF28B #8BC0F2
split-complementary
#F18BF2 #C0F28B #8BF2BD
monochromatic
#E41DE6 #EA54EC #F18BF2 #F8C2F8 #FCE3FC

Accessibility & contrast

On white

2.16
#F18BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#F18BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F18BF2
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F18BF2#FFFFFF#000000##000000
##F18BF21.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F695B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f18bf2;
/* rgb */ color: rgb(241, 139, 242);
/* oklch */ color: oklch(78.0% 0.177 326.8);
Tailwind
colors: {
  custom: {
    50: '#f7aff6',
    500: '#f18bf2',
    950: '#000000',
  },
}
SCSS
$custom: #f18bf2;
$custom-light: #f7aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#f18bf2",
  "rgb": {
    "r": 241,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 299.417,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77997,
    "c": 0.17698,
    "h": 326.8
  },
  "luminance": 0.43577
}

Semantic roles & 50–950 ramp

primary
#F18BF2
secondary
#D8F4D7
accent
#DC090B
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F18BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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