#F08DE8#F08DE8

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

Color values

HEX#F08DE8
RGBrgb(240, 141, 232)
HSLhsl(305, 77%, 75%)
HSVhsv(305, 41%, 94%)
CMYKcmyk(0%, 41.3%, 3.3%, 5.9%)
CIE-LABlab(71.83, 50.41, -30.20)
CIE-LCHlch(71.83, 58.76, 329.08°)
OKLaboklab(77.75% 0.142 -0.0821)
OKLCHoklch(77.75% 0.164 330)
XYZxyz(60.0248, 43.4043, 81.5444)
Luminance0.4340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08DE8 #8DF095
analogous
#C68DF0 #F08DE8 #F08DB7
triadic
#F08DE8 #E8F08D #8DE8F0
tetradic
#F08DE8 #F0C68D #8DF095 #8DB7F0
square
#F08DE8 #F0C68D #8DF095 #8DB7F0
split-complementary
#F08DE8 #B7F08D #8DF0C6
monochromatic
#E221D2 #E957DD #F08DE8 #F7C3F3 #FBE4FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F08DE8#FFFFFF#000000##000000
##F08DE81.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)
#88A8EB
Deuteranopia (green-blind)
#A3B5E5
Tritanopia (blue-blind)
#F795B0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f08de8;
/* rgb */ color: rgb(240, 141, 232);
/* oklch */ color: oklch(77.8% 0.164 330.0);
Tailwind
colors: {
  custom: {
    50: '#f7b0ef',
    500: '#f08de8',
    950: '#000000',
  },
}
SCSS
$custom: #f08de8;
$custom-light: #f7b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f08de8",
  "rgb": {
    "r": 240,
    "g": 141,
    "b": 232
  },
  "hsl": {
    "h": 304.848,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77754,
    "c": 0.16401,
    "h": 330
  },
  "luminance": 0.43401
}

Semantic roles & 50–950 ramp

primary
#F08DE8
secondary
#D8F3DA
accent
#D91D0D
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F08DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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