#F26AF2#F26AF2

#F26AF2 is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.8% C 0.228 H 327.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#F26AF2
RGBrgb(242, 106, 242)
HSLhsl(300, 84%, 68%)
HSVhsv(300, 56%, 95%)
CMYKcmyk(0%, 56.2%, 0%, 5.1%)
CIE-LABlab(66.21, 69.24, -44.42)
CIE-LCHlch(66.21, 82.26, 327.32°)
OKLaboklab(73.79% 0.1927 -0.1224)
OKLCHoklch(73.79% 0.228 327.6)
XYZxyz(57.7981, 35.5997, 87.8143)
Luminance0.3560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26AF2 #6AF26A
analogous
#AE6AF2 #F26AF2 #F26AAE
triadic
#F26AF2 #F2F26A #6AF2F2
tetradic
#F26AF2 #F2AE6A #6AF26A #6AAEF2
square
#F26AF2 #F2AE6A #6AF26A #6AAEF2
split-complementary
#F26AF2 #AEF26A #6AF2AE
monochromatic
#CF12CF #ED32ED #F26AF2 #F7A2F7 #FCDBFC

Accessibility & contrast

On white

2.59
#F26AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#F26AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26AF2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26AF2#FFFFFF#000000##000000
##F26AF21.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#F97AA4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f26af2;
/* rgb */ color: rgb(242, 106, 242);
/* oklch */ color: oklch(73.8% 0.228 327.6);
Tailwind
colors: {
  custom: {
    50: '#f99bf7',
    500: '#f26af2',
    950: '#000000',
  },
}
SCSS
$custom: #f26af2;
$custom-light: #f99bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#f26af2",
  "rgb": {
    "r": 242,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73787,
    "c": 0.22827,
    "h": 327.6
  },
  "luminance": 0.35596
}

Semantic roles & 50–950 ramp

primary
#F26AF2
secondary
#C7F1C7
accent
#E00505
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180F17
muted
#867E85

Preview Lab

Preview with #F26AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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