#F397FC#F397FC

#F397FC is a light, vivid purple. Relative luminance 0.482; OKLCH L 80.4% C 0.168 H 323.8°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#F397FC
RGBrgb(243, 151, 252)
HSLhsl(295, 94%, 79%)
HSVhsv(295, 40%, 99%)
CMYKcmyk(3.6%, 40.1%, 0%, 1.2%)
CIE-LABlab(74.96, 49.78, -36.22)
CIE-LCHlch(74.96, 61.56, 323.96°)
OKLaboklab(80.44% 0.1354 -0.0992)
OKLCHoklch(80.44% 0.168 323.8)
XYZxyz(65.5977, 48.2188, 97.9284)
Luminance0.4822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F397FC #A0FC97
analogous
#C197FC #F397FC #FC97D3
triadic
#F397FC #FCF397 #97FCF3
tetradic
#F397FC #FCC197 #A0FC97 #97D3FC
square
#F397FC #FCC197 #A0FC97 #97D3FC
split-complementary
#F397FC #D3FC97 #97FCC1
monochromatic
#E520F9 #EC5CFA #F397FC #FAD2FE #FCE1FE

Accessibility & contrast

On white

1.97
#F397FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#F397FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F397FC
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F397FC#FFFFFF#000000##000000
##F397FC1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#A4BCF9
Tritanopia (blue-blind)
#F7A2BE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f397fc;
/* rgb */ color: rgb(243, 151, 252);
/* oklch */ color: oklch(80.4% 0.168 323.8);
Tailwind
colors: {
  custom: {
    50: '#f8b7fd',
    500: '#f397fc',
    950: '#000000',
  },
}
SCSS
$custom: #f397fc;
$custom-light: #f8b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f397fc",
  "rgb": {
    "r": 243,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 294.653,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80436,
    "c": 0.1678,
    "h": 323.8
  },
  "luminance": 0.48216
}

Semantic roles & 50–950 ramp

primary
#F397FC
secondary
#D8F6D5
accent
#E60014
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F397FC

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

Preview Lab → · Contrast checker → · Palette generator →

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