#F08EE3#F08EE3

#F08EE3 is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.7% C 0.158 H 332.0°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#F08EE3
RGBrgb(240, 142, 227)
HSLhsl(308, 77%, 75%)
HSVhsv(308, 41%, 94%)
CMYKcmyk(0%, 40.8%, 5.4%, 5.9%)
CIE-LABlab(71.84, 49.04, -27.44)
CIE-LCHlch(71.84, 56.19, 330.78°)
OKLaboklab(77.7% 0.1394 -0.0743)
OKLCHoklch(77.7% 0.158 332)
XYZxyz(59.4728, 43.4205, 77.9065)
Luminance0.4342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08EE3 #8EF09B
analogous
#CC8EF0 #F08EE3 #F08EB2
triadic
#F08EE3 #E3F08E #8EE3F0
tetradic
#F08EE3 #F0CC8E #8EF09B #8EB2F0
square
#F08EE3 #F0CC8E #8EF09B #8EB2F0
split-complementary
#F08EE3 #B2F08E #8EF0CC
monochromatic
#E222C8 #E958D6 #F08EE3 #F7C4F0 #FBE4F8

Accessibility & contrast

On white

2.17
#F08EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#F08EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08EE3
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08EE3#FFFFFF#000000##000000
##F08EE31.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA7E6
Deuteranopia (green-blind)
#A5B5E0
Tritanopia (blue-blind)
#F894AE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08ee3;
/* rgb */ color: rgb(240, 142, 227);
/* oklch */ color: oklch(77.7% 0.158 332.0);
Tailwind
colors: {
  custom: {
    50: '#f6b1ec',
    500: '#f08ee3',
    950: '#000000',
  },
}
SCSS
$custom: #f08ee3;
$custom-light: #f6b1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f08ee3",
  "rgb": {
    "r": 240,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 307.959,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.777,
    "c": 0.15796,
    "h": 332
  },
  "luminance": 0.43417
}

Semantic roles & 50–950 ramp

primary
#F08EE3
secondary
#D8F3DB
accent
#D9280D
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F08EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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