#FF97EF#FF97EF

#FF97EF is a light, vivid purple. Relative luminance 0.496; OKLCH L 81.2% C 0.164 H 332.8°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#FF97EF
RGBrgb(255, 151, 239)
HSLhsl(309, 100%, 80%)
HSVhsv(309, 41%, 100%)
CMYKcmyk(0%, 40.8%, 6.3%, 0%)
CIE-LABlab(75.84, 51.08, -27.70)
CIE-LCHlch(75.84, 58.10, 331.53°)
OKLaboklab(81.23% 0.1457 -0.0749)
OKLCHoklch(81.23% 0.164 332.8)
XYZxyz(67.8861, 49.6289, 87.6482)
Luminance0.4963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97EF #97FFA7
analogous
#DB97FF #FF97EF #FF97BB
triadic
#FF97EF #EFFF97 #97EFFF
tetradic
#FF97EF #FFDB97 #97FFA7 #97BBFF
square
#FF97EF #FFDB97 #97FFA7 #97BBFF
split-complementary
#FF97EF #BBFF97 #97FFDB
monochromatic
#FF1DDC #FF5AE6 #FF97EF #FFD4F8 #FFE0FA

Accessibility & contrast

On white

1.92
#FF97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#FF97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97EF
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97EF#FFFFFF#000000##000000
##FF97EF1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B2F2
Deuteranopia (green-blind)
#B0C0EC
Tritanopia (blue-blind)
#FF9DB8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ff97ef;
/* rgb */ color: rgb(255, 151, 239);
/* oklch */ color: oklch(81.2% 0.164 332.8);
Tailwind
colors: {
  custom: {
    50: '#ffb8f4',
    500: '#ff97ef',
    950: '#000000',
  },
}
SCSS
$custom: #ff97ef;
$custom-light: #ffb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97ef",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 309.231,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.8123,
    "c": 0.16385,
    "h": 332.8
  },
  "luminance": 0.49625
}

Semantic roles & 50–950 ramp

primary
#FF97EF
secondary
#D4F7D9
accent
#E62300
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FF97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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