#F238DB#F238DB

#F238DB is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 68.1% C 0.269 H 333.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#F238DB
RGBrgb(242, 56, 219)
HSLhsl(307, 88%, 58%)
HSVhsv(307, 77%, 95%)
CMYKcmyk(0%, 76.9%, 9.5%, 5.1%)
CIE-LABlab(58.81, 83.35, -43.22)
CIE-LCHlch(58.81, 93.89, 332.59°)
OKLaboklab(68.08% 0.242 -0.1185)
OKLCHoklch(68.08% 0.269 333.9)
XYZxyz(50.8188, 26.8246, 69.5053)
Luminance0.2682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F238DB #38F24F
analogous
#AC38F2 #F238DB #F2387E
triadic
#F238DB #DBF238 #38DBF2
tetradic
#F238DB #F2AC38 #38F24F #387EF2
square
#F238DB #F2AC38 #38F24F #387EF2
split-complementary
#F238DB #7EF238 #38F2AC
monochromatic
#A50B92 #DE0FC5 #F238DB #F671E5 #FAABF0

Accessibility & contrast

On white

3.30
#F238DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#F238DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F238DB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F238DB#FFFFFF#000000##000000
##F238DB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#7B97D7
Tritanopia (blue-blind)
#FD4C88
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #f238db;
/* rgb */ color: rgb(242, 56, 219);
/* oklch */ color: oklch(68.1% 0.269 333.9);
Tailwind
colors: {
  custom: {
    50: '#fb83e6',
    500: '#f238db',
    950: '#000000',
  },
}
SCSS
$custom: #f238db;
$custom-light: #fb83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f238db",
  "rgb": {
    "r": 242,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 307.419,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.68076,
    "c": 0.26943,
    "h": 333.9
  },
  "luminance": 0.2682
}

Semantic roles & 50–950 ramp

primary
#F238DB
secondary
#9EE8A7
accent
#FE442A
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#180C16
muted
#867D84

Preview Lab

Preview with #F238DB

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

Preview Lab → · Contrast checker → · Palette generator →

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