#F266EF#F266EF

#F266EF is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 73.2% C 0.231 H 328.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#F266EF
RGBrgb(242, 102, 239)
HSLhsl(301, 84%, 67%)
HSVhsv(301, 58%, 95%)
CMYKcmyk(0%, 57.9%, 1.2%, 5.1%)
CIE-LABlab(65.45, 70.45, -43.96)
CIE-LCHlch(65.45, 83.04, 328.03°)
OKLaboklab(73.18% 0.1972 -0.121)
OKLCHoklch(73.18% 0.231 328.5)
XYZxyz(56.9486, 34.6157, 85.3266)
Luminance0.3461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266EF #66F269
analogous
#AF66F2 #F266EF #F266A9
triadic
#F266EF #EFF266 #66EFF2
tetradic
#F266EF #F2AF66 #66F269 #66A9F2
square
#F266EF #F2AF66 #66F269 #66A9F2
split-complementary
#F266EF #A9F266 #66F2AF
monochromatic
#CC11C8 #ED2EE9 #F266EF #F79EF5 #FCD7FB

Accessibility & contrast

On white

2.65
#F266EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#F266EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266EF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266EF#FFFFFF#000000##000000
##F266EF1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#87A6EB
Tritanopia (blue-blind)
#F976A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f266ef;
/* rgb */ color: rgb(242, 102, 239);
/* oklch */ color: oklch(73.2% 0.231 328.5);
Tailwind
colors: {
  custom: {
    50: '#f999f4',
    500: '#f266ef',
    950: '#000000',
  },
}
SCSS
$custom: #f266ef;
$custom-light: #f999f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f266ef",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 301.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73184,
    "c": 0.2314,
    "h": 328.5
  },
  "luminance": 0.34612
}

Semantic roles & 50–950 ramp

primary
#F266EF
secondary
#C4F0C5
accent
#E10905
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F266EF

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

Preview Lab → · Contrast checker → · Palette generator →

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