#F397F2#F397F2

#F397F2 is a light, vivid purple. Relative luminance 0.476; OKLCH L 80.0% C 0.158 H 327.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#F397F2
RGBrgb(243, 151, 242)
HSLhsl(301, 79%, 77%)
HSVhsv(301, 38%, 95%)
CMYKcmyk(0%, 37.9%, 0.4%, 4.7%)
CIE-LABlab(74.57, 47.97, -31.40)
CIE-LCHlch(74.57, 57.33, 326.79°)
OKLaboklab(80.02% 0.1332 -0.0855)
OKLCHoklch(80.02% 0.158 327.3)
XYZxyz(64.0545, 47.6015, 89.8012)
Luminance0.4760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F397F2 #97F398
analogous
#C697F3 #F397F2 #F397C4
triadic
#F397F2 #F2F397 #97F2F3
tetradic
#F397F2 #F3C697 #97F398 #97C4F3
square
#F397F2 #F3C697 #97F398 #97C4F3
split-complementary
#F397F2 #C4F397 #97F3C6
monochromatic
#E629E4 #ED60EB #F397F2 #F9CEF9 #FCE4FC

Accessibility & contrast

On white

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

On black

10.52
#F397F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F397F2
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F397F2#FFFFFF#000000##000000
##F397F21.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#A8BCEF
Tritanopia (blue-blind)
#F89FB9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f397f2;
/* rgb */ color: rgb(243, 151, 242);
/* oklch */ color: oklch(80.0% 0.158 327.3);
Tailwind
colors: {
  custom: {
    50: '#f8b7f6',
    500: '#f397f2',
    950: '#000000',
  },
}
SCSS
$custom: #f397f2;
$custom-light: #f8b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f397f2",
  "rgb": {
    "r": 243,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 300.652,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.80015,
    "c": 0.15827,
    "h": 327.3
  },
  "luminance": 0.47599
}

Semantic roles & 50–950 ramp

primary
#F397F2
secondary
#D7F4D8
accent
#DC0C0A
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F397F2

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

Preview Lab → · Contrast checker → · Palette generator →

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