#F08FEF#F08FEF

#F08FEF is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.3% C 0.167 H 327.4°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#F08FEF
RGBrgb(240, 143, 239)
HSLhsl(301, 76%, 75%)
HSVhsv(301, 40%, 94%)
CMYKcmyk(0%, 40.4%, 0.4%, 5.9%)
CIE-LABlab(72.50, 50.62, -32.99)
CIE-LCHlch(72.50, 60.42, 326.90°)
OKLaboklab(78.35% 0.1407 -0.09)
OKLCHoklch(78.35% 0.167 327.4)
XYZxyz(61.3365, 44.4051, 86.9848)
Luminance0.4440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08FEF #8FF090
analogous
#C18FF0 #F08FEF #F08FBE
triadic
#F08FEF #EFF08F #8FEFF0
tetradic
#F08FEF #F0C18F #8FF090 #8FBEF0
square
#F08FEF #F0C18F #8FF090 #8FBEF0
split-complementary
#F08FEF #BEF08F #8FF0C1
monochromatic
#E223E0 #E959E7 #F08FEF #F7C5F7 #FBE4FB

Accessibility & contrast

On white

2.13
#F08FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#F08FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08FEF
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08FEF#FFFFFF#000000##000000
##F08FEF1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#A2B6EC
Tritanopia (blue-blind)
#F698B4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f08fef;
/* rgb */ color: rgb(240, 143, 239);
/* oklch */ color: oklch(78.3% 0.167 327.4);
Tailwind
colors: {
  custom: {
    50: '#f6b2f4',
    500: '#f08fef',
    950: '#000000',
  },
}
SCSS
$custom: #f08fef;
$custom-light: #f6b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f08fef",
  "rgb": {
    "r": 240,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 300.619,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78345,
    "c": 0.16698,
    "h": 327.4
  },
  "luminance": 0.44402
}

Semantic roles & 50–950 ramp

primary
#F08FEF
secondary
#D8F3D8
accent
#D90F0D
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F08FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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