#F274EB#F274EB

#F274EB is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.7% C 0.208 H 329.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#F274EB
RGBrgb(242, 116, 235)
HSLhsl(303, 83%, 70%)
HSVhsv(303, 52%, 95%)
CMYKcmyk(0%, 52.1%, 2.9%, 5.1%)
CIE-LABlab(67.55, 63.61, -38.46)
CIE-LCHlch(67.55, 74.33, 328.84°)
OKLaboklab(74.67% 0.1792 -0.1053)
OKLCHoklch(74.67% 0.208 329.6)
XYZxyz(57.8581, 37.3697, 82.7468)
Luminance0.3737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274EB #74F27B
analogous
#BA74F2 #F274EB #F274AC
triadic
#F274EB #EBF274 #74EBF2
tetradic
#F274EB #F2BA74 #74F27B #74ACF2
square
#F274EB #F2BA74 #74F27B #74ACF2
split-complementary
#F274EB #ACF274 #74F2BA
monochromatic
#D714CD #ED3CE3 #F274EB #F7ACF3 #FCE3FB

Accessibility & contrast

On white

2.48
#F274EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#F274EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274EB
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274EB#FFFFFF#000000##000000
##F274EB1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#92ABE7
Tritanopia (blue-blind)
#FA80A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f274eb;
/* rgb */ color: rgb(242, 116, 235);
/* oklch */ color: oklch(74.7% 0.208 329.6);
Tailwind
colors: {
  custom: {
    50: '#f9a1f2',
    500: '#f274eb',
    950: '#000000',
  },
}
SCSS
$custom: #f274eb;
$custom-light: #f9a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f274eb",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 303.333,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74669,
    "c": 0.20785,
    "h": 329.6
  },
  "luminance": 0.37366
}

Semantic roles & 50–950 ramp

primary
#F274EB
secondary
#CFF2D1
accent
#DF1206
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F274EB

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

Preview Lab → · Contrast checker → · Palette generator →

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