#F09EF2#F09EF2

#F09EF2 is a light, vivid purple. Relative luminance 0.494; OKLCH L 80.8% C 0.144 H 326.0°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#F09EF2
RGBrgb(240, 158, 242)
HSLhsl(299, 76%, 78%)
HSVhsv(299, 35%, 95%)
CMYKcmyk(0.8%, 34.7%, 0%, 5.1%)
CIE-LABlab(75.69, 43.44, -29.70)
CIE-LCHlch(75.69, 52.62, 325.64°)
OKLaboklab(80.79% 0.1197 -0.0808)
OKLCHoklch(80.79% 0.144 326)
XYZxyz(64.1876, 49.3923, 90.1397)
Luminance0.4939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F09EF2 #A0F29E
analogous
#C69EF2 #F09EF2 #F29ECA
triadic
#F09EF2 #F2F09E #9EF2F0
tetradic
#F09EF2 #F2C69E #A0F29E #9ECAF2
square
#F09EF2 #F2C69E #A0F29E #9ECAF2
split-complementary
#F09EF2 #CAF29E #9EF2C6
monochromatic
#DF32E4 #E868EB #F09EF2 #F8D4F9 #FBE4FB

Accessibility & contrast

On white

1.93
#F09EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#F09EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F09EF2
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F09EF2#FFFFFF#000000##000000
##F09EF21.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B4F5
Deuteranopia (green-blind)
#ACBEEF
Tritanopia (blue-blind)
#F5A6BD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f09ef2;
/* rgb */ color: rgb(240, 158, 242);
/* oklch */ color: oklch(80.8% 0.144 326.0);
Tailwind
colors: {
  custom: {
    50: '#f6bcf6',
    500: '#f09ef2',
    950: '#000000',
  },
}
SCSS
$custom: #f09ef2;
$custom-light: #f6bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#f09ef2",
  "rgb": {
    "r": 240,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 298.571,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.80787,
    "c": 0.14445,
    "h": 326
  },
  "luminance": 0.4939
}

Semantic roles & 50–950 ramp

primary
#F09EF2
secondary
#D9F3D8
accent
#D90D12
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171217
muted
#858185

Preview Lab

Preview with #F09EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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