#F26AFA#F26AFA

#F26AFA is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.2% C 0.235 H 325.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#F26AFA
RGBrgb(242, 106, 250)
HSLhsl(297, 94%, 70%)
HSVhsv(297, 58%, 98%)
CMYKcmyk(3.2%, 57.6%, 0%, 2%)
CIE-LABlab(66.59, 70.60, -48.23)
CIE-LCHlch(66.59, 85.50, 325.66°)
OKLaboklab(74.18% 0.1934 -0.1334)
OKLCHoklch(74.18% 0.235 325.4)
XYZxyz(59.0260, 36.0908, 94.2811)
Luminance0.3609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26AFA #72FA6A
analogous
#AA6AFA #F26AFA #FA6ABA
triadic
#F26AFA #FAF26A #6AFAF2
tetradic
#F26AFA #FAAA6A #72FA6A #6ABAFA
square
#F26AFA #FAAA6A #72FA6A #6ABAFA
split-complementary
#F26AFA #BAFA6A #6AFAAA
monochromatic
#D608E2 #ED2FF8 #F26AFA #F7A5FC #FCE0FE

Accessibility & contrast

On white

2.56
#F26AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#F26AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26AFA
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26AFA#FFFFFF#000000##000000
##F26AFA1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#F77DA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26afa;
/* rgb */ color: rgb(242, 106, 250);
/* oklch */ color: oklch(74.2% 0.235 325.4);
Tailwind
colors: {
  custom: {
    50: '#f99cfc',
    500: '#f26afa',
    950: '#000000',
  },
}
SCSS
$custom: #f26afa;
$custom-light: #f99cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#f26afa",
  "rgb": {
    "r": 242,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 296.667,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74184,
    "c": 0.23493,
    "h": 325.4
  },
  "luminance": 0.36087
}

Semantic roles & 50–950 ramp

primary
#F26AFA
secondary
#CEF4CC
accent
#E6000D
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F26AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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