#F08FE7#F08FE7

#F08FE7 is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.0% C 0.160 H 330.4°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#F08FE7
RGBrgb(240, 143, 231)
HSLhsl(306, 76%, 75%)
HSVhsv(306, 40%, 94%)
CMYKcmyk(0%, 40.4%, 3.7%, 5.9%)
CIE-LABlab(72.19, 49.22, -29.09)
CIE-LCHlch(72.19, 57.17, 329.41°)
OKLaboklab(78.01% 0.1389 -0.079)
OKLCHoklch(78.01% 0.16 330.4)
XYZxyz(60.1807, 43.9427, 80.8977)
Luminance0.4394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08FE7 #8FF098
analogous
#C88FF0 #F08FE7 #F08FB6
triadic
#F08FE7 #E7F08F #8FE7F0
tetradic
#F08FE7 #F0C88F #8FF098 #8FB6F0
square
#F08FE7 #F0C88F #8FF098 #8FB6F0
split-complementary
#F08FE7 #B6F08F #8FF0C8
monochromatic
#E223D0 #E959DB #F08FE7 #F7C5F3 #FBE4F9

Accessibility & contrast

On white

2.15
#F08FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#F08FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08FE7
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08FE7#FFFFFF#000000##000000
##F08FE71.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA9EA
Deuteranopia (green-blind)
#A5B6E4
Tritanopia (blue-blind)
#F796B0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f08fe7;
/* rgb */ color: rgb(240, 143, 231);
/* oklch */ color: oklch(78.0% 0.160 330.4);
Tailwind
colors: {
  custom: {
    50: '#f6b2ee',
    500: '#f08fe7',
    950: '#000000',
  },
}
SCSS
$custom: #f08fe7;
$custom-light: #f6b2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f08fe7",
  "rgb": {
    "r": 240,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 305.567,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78013,
    "c": 0.15976,
    "h": 330.4
  },
  "luminance": 0.4394
}

Semantic roles & 50–950 ramp

primary
#F08FE7
secondary
#D8F3DA
accent
#D9200D
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F08FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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