#F397EC#F397EC

#F397EC is a light, vivid purple. Relative luminance 0.472; OKLCH L 79.8% C 0.153 H 329.6°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#F397EC
RGBrgb(243, 151, 236)
HSLhsl(305, 79%, 77%)
HSVhsv(305, 38%, 95%)
CMYKcmyk(0%, 37.9%, 2.9%, 4.7%)
CIE-LABlab(74.35, 46.91, -28.48)
CIE-LCHlch(74.35, 54.88, 328.74°)
OKLaboklab(79.77% 0.1318 -0.0772)
OKLCHoklch(79.77% 0.153 329.6)
XYZxyz(63.1682, 47.2470, 85.1329)
Luminance0.4724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F397EC #97F39E
analogous
#CC97F3 #F397EC #F397BE
triadic
#F397EC #ECF397 #97ECF3
tetradic
#F397EC #F3CC97 #97F39E #97BEF3
square
#F397EC #F3CC97 #97F39E #97BEF3
split-complementary
#F397EC #BEF397 #97F3CC
monochromatic
#E629D8 #ED60E2 #F397EC #F9CEF6 #FCE4FA

Accessibility & contrast

On white

2.01
#F397EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#F397EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F397EC
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F397EC#FFFFFF#000000##000000
##F397EC1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEF
Deuteranopia (green-blind)
#AABBE9
Tritanopia (blue-blind)
#F99EB7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f397ec;
/* rgb */ color: rgb(243, 151, 236);
/* oklch */ color: oklch(79.8% 0.153 329.6);
Tailwind
colors: {
  custom: {
    50: '#f8b7f2',
    500: '#f397ec',
    950: '#000000',
  },
}
SCSS
$custom: #f397ec;
$custom-light: #f8b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f397ec",
  "rgb": {
    "r": 243,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 304.565,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79771,
    "c": 0.15278,
    "h": 329.6
  },
  "luminance": 0.47244
}

Semantic roles & 50–950 ramp

primary
#F397EC
secondary
#D7F4D9
accent
#DC1A0A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F397EC

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

Preview Lab → · Contrast checker → · Palette generator →

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