#F38DF2#F38DF2

#F38DF2 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.5% C 0.175 H 327.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#F38DF2
RGBrgb(243, 141, 242)
HSLhsl(301, 81%, 75%)
HSVhsv(301, 42%, 95%)
CMYKcmyk(0%, 42%, 0.4%, 4.7%)
CIE-LABlab(72.57, 53.04, -34.49)
CIE-LCHlch(72.57, 63.27, 326.97°)
OKLaboklab(78.52% 0.1474 -0.0942)
OKLCHoklch(78.52% 0.175 327.4)
XYZxyz(62.5129, 44.5183, 89.2873)
Luminance0.4451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F38DF2 #8DF38E
analogous
#C18DF3 #F38DF2 #F38DBF
triadic
#F38DF2 #F2F38D #8DF2F3
tetradic
#F38DF2 #F3C18D #8DF38E #8DBFF3
square
#F38DF2 #F3C18D #8DF38E #8DBFF3
split-complementary
#F38DF2 #BFF38D #8DF3C1
monochromatic
#E71EE5 #ED56EC #F38DF2 #F9C4F8 #FCE3FC

Accessibility & contrast

On white

2.12
#F38DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#F38DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F38DF2
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F38DF2#FFFFFF#000000##000000
##F38DF21.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#A1B7EF
Tritanopia (blue-blind)
#F997B4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f38df2;
/* rgb */ color: rgb(243, 141, 242);
/* oklch */ color: oklch(78.5% 0.175 327.4);
Tailwind
colors: {
  custom: {
    50: '#f9b1f6',
    500: '#f38df2',
    950: '#000000',
  },
}
SCSS
$custom: #f38df2;
$custom-light: #f9b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f38df2",
  "rgb": {
    "r": 243,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 300.588,
    "s": 80.952,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78516,
    "c": 0.17494,
    "h": 327.4
  },
  "luminance": 0.44515
}

Semantic roles & 50–950 ramp

primary
#F38DF2
secondary
#D7F4D7
accent
#DD0A08
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F38DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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