#E262F2#E262F2

#E262F2 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.8% C 0.231 H 323.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#E262F2
RGBrgb(226, 98, 242)
HSLhsl(293, 85%, 67%)
HSVhsv(293, 60%, 95%)
CMYKcmyk(6.6%, 59.5%, 0%, 5.1%)
CIE-LABlab(62.77, 68.75, -49.99)
CIE-LCHlch(62.77, 85.00, 323.98°)
OKLaboklab(70.84% 0.1848 -0.1388)
OKLCHoklch(70.84% 0.231 323.1)
XYZxyz(51.7572, 31.3177, 87.3059)
Luminance0.3131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E262F2 #72F262
analogous
#9A62F2 #E262F2 #F262BA
triadic
#E262F2 #F2E262 #62F2E2
tetradic
#E262F2 #F29A62 #72F262 #62BAF2
square
#E262F2 #F29A62 #72F262 #62BAF2
split-complementary
#E262F2 #BAF262 #62F29A
monochromatic
#B411C9 #D829ED #E262F2 #EC9BF7 #F7D3FB

Accessibility & contrast

On white

2.89
#E262F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#E262F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E262F2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E262F2#FFFFFF#000000##000000
##E262F21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#769DEE
Tritanopia (blue-blind)
#E577A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e262f2;
/* rgb */ color: rgb(226, 98, 242);
/* oklch */ color: oklch(70.8% 0.231 323.1);
Tailwind
colors: {
  custom: {
    50: '#ee96f7',
    500: '#e262f2',
    950: '#000000',
  },
}
SCSS
$custom: #e262f2;
$custom-light: #ee96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e262f2",
  "rgb": {
    "r": 226,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 293.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70837,
    "c": 0.23113,
    "h": 323.1
  },
  "luminance": 0.31315
}

Semantic roles & 50–950 ramp

primary
#E262F2
secondary
#C6EFC1
accent
#E1041D
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E262F2

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

Preview Lab → · Contrast checker → · Palette generator →

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