#E270F2#E270F2

#E270F2 is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.5% C 0.211 H 322.6°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#E270F2
RGBrgb(226, 112, 242)
HSLhsl(293, 83%, 69%)
HSVhsv(293, 54%, 95%)
CMYKcmyk(6.6%, 53.7%, 0%, 5.1%)
CIE-LABlab(65.10, 62.46, -46.32)
CIE-LCHlch(65.10, 77.76, 323.44°)
OKLaboklab(72.53% 0.1676 -0.1282)
OKLCHoklch(72.53% 0.211 322.6)
XYZxyz(53.1836, 34.1704, 87.7813)
Luminance0.3417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E270F2 #80F270
analogous
#A170F2 #E270F2 #F270C1
triadic
#E270F2 #F2E270 #70F2E2
tetradic
#E270F2 #F2A170 #80F270 #70C1F2
square
#E270F2 #F2A170 #80F270 #70C1F2
split-complementary
#E270F2 #C1F270 #70F2A1
monochromatic
#BD13D4 #D738ED #E270F2 #EDA8F7 #F9E0FC

Accessibility & contrast

On white

2.68
#E270F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#E270F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E270F2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E270F2#FFFFFF#000000##000000
##E270F21.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#80A3EE
Tritanopia (blue-blind)
#E582A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e270f2;
/* rgb */ color: rgb(226, 112, 242);
/* oklch */ color: oklch(72.5% 0.211 322.6);
Tailwind
colors: {
  custom: {
    50: '#ee9ef7',
    500: '#e270f2',
    950: '#000000',
  },
}
SCSS
$custom: #e270f2;
$custom-light: #ee9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#e270f2",
  "rgb": {
    "r": 226,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 292.615,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72534,
    "c": 0.21103,
    "h": 322.6
  },
  "luminance": 0.34168
}

Semantic roles & 50–950 ramp

primary
#E270F2
secondary
#D1F2CC
accent
#E00621
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E270F2

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

Preview Lab → · Contrast checker → · Palette generator →

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