#FF7DEC#FF7DEC

#FF7DEC is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.5% C 0.203 H 333.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#FF7DEC
RGBrgb(255, 125, 236)
HSLhsl(309, 100%, 75%)
HSVhsv(309, 51%, 100%)
CMYKcmyk(0%, 51%, 7.5%, 0%)
CIE-LABlab(70.86, 63.18, -33.73)
CIE-LCHlch(70.86, 71.62, 331.90°)
OKLaboklab(77.48% 0.1814 -0.0917)
OKLCHoklch(77.48% 0.203 333.2)
XYZxyz(63.7138, 41.9876, 84.0892)
Luminance0.4198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7DEC #7DFF90
analogous
#D17DFF #FF7DEC #FF7DAB
triadic
#FF7DEC #ECFF7D #7DECFF
tetradic
#FF7DEC #FFD17D #7DFF90 #7DABFF
square
#FF7DEC #FFD17D #7DFF90 #7DABFF
split-complementary
#FF7DEC #ABFF7D #7DFFD1
monochromatic
#FF03DA #FF40E3 #FF7DEC #FFBAF5 #FFE0FB

Accessibility & contrast

On white

2.23
#FF7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#FF7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7DEC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7DEC#FFFFFF#000000##000000
##FF7DEC1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F0
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#FF85AA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ff7dec;
/* rgb */ color: rgb(255, 125, 236);
/* oklch */ color: oklch(77.5% 0.203 333.2);
Tailwind
colors: {
  custom: {
    50: '#ffa7f2',
    500: '#ff7dec',
    950: '#000000',
  },
}
SCSS
$custom: #ff7dec;
$custom-light: #ffa7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7dec",
  "rgb": {
    "r": 255,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 308.769,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77479,
    "c": 0.20322,
    "h": 333.2
  },
  "luminance": 0.41983
}

Semantic roles & 50–950 ramp

primary
#FF7DEC
secondary
#D4F7D9
accent
#E62200
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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