#F895EC#F895EC

#F895EC is a light, vivid purple. Relative luminance 0.475; OKLCH L 80.0% C 0.160 H 331.5°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#F895EC
RGBrgb(248, 149, 236)
HSLhsl(307, 88%, 78%)
HSVhsv(307, 40%, 97%)
CMYKcmyk(0%, 39.9%, 4.8%, 2.7%)
CIE-LABlab(74.52, 49.45, -28.17)
CIE-LCHlch(74.52, 56.92, 330.33°)
OKLaboklab(80.02% 0.1402 -0.0763)
OKLCHoklch(80.02% 0.16 331.5)
XYZxyz(64.5985, 47.5108, 85.1085)
Luminance0.4751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F895EC #95F8A1
analogous
#D395F8 #F895EC #F895BA
triadic
#F895EC #ECF895 #95ECF8
tetradic
#F895EC #F8D395 #95F8A1 #95BAF8
square
#F895EC #F8D395 #95F8A1 #95BAF8
split-complementary
#F895EC #BAF895 #95F8D3
monochromatic
#F022D7 #F45CE2 #F895EC #FCCEF6 #FDE2FA

Accessibility & contrast

On white

2.00
#F895EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#F895EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F895EC
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F895EC#FFFFFF#000000##000000
##F895EC1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFEF
Deuteranopia (green-blind)
#ACBCE9
Tritanopia (blue-blind)
#FF9BB6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f895ec;
/* rgb */ color: rgb(248, 149, 236);
/* oklch */ color: oklch(80.0% 0.160 331.5);
Tailwind
colors: {
  custom: {
    50: '#fcb6f2',
    500: '#f895ec',
    950: '#000000',
  },
}
SCSS
$custom: #f895ec;
$custom-light: #fcb6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f895ec",
  "rgb": {
    "r": 248,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 307.273,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.80022,
    "c": 0.15964,
    "h": 331.5
  },
  "luminance": 0.47507
}

Semantic roles & 50–950 ramp

primary
#F895EC
secondary
#D6F5DA
accent
#E41D01
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F895EC

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

Preview Lab → · Contrast checker → · Palette generator →

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