#7271EA#7271EA

#7271EA is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.0% C 0.178 H 280.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7271EA
RGBrgb(114, 113, 234)
HSLhsl(240, 74%, 68%)
HSVhsv(240, 52%, 92%)
CMYKcmyk(51.3%, 51.7%, 0%, 8.2%)
CIE-LABlab(53.31, 32.74, -61.34)
CIE-LCHlch(53.31, 69.53, 298.09°)
OKLaboklab(61.05% 0.0312 -0.1751)
OKLCHoklch(61.05% 0.178 280.1)
XYZxyz(27.6913, 21.3266, 80.4832)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271EA #E9EA71
analogous
#71ACEA #7271EA #AE71EA
triadic
#7271EA #EA7271 #71EA72
tetradic
#7271EA #EA71AC #E9EA71 #71EAAE
square
#7271EA #EA71AC #E9EA71 #71EAAE
split-complementary
#7271EA #EAAE71 #ACEA71
monochromatic
#1E1DC4 #3D3CE2 #7271EA #A7A6F2 #DCDCFA

Accessibility & contrast

On white

3.99
#7271EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7271EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271EA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271EA#FFFFFF#000000##000000
##7271EA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#227BE7
Tritanopia (blue-blind)
#408CA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7271ea;
/* rgb */ color: rgb(114, 113, 234);
/* oklch */ color: oklch(61.0% 0.178 280.1);
Tailwind
colors: {
  custom: {
    50: '#a29af1',
    500: '#7271ea',
    950: '#000000',
  },
}
SCSS
$custom: #7271ea;
$custom-light: #a29af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7271ea",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 240.496,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61046,
    "c": 0.17787,
    "h": 280.1
  },
  "luminance": 0.21328
}

Semantic roles & 50–950 ramp

primary
#7271EA
secondary
#EEEEC9
accent
#D60FD5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7271EA

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

Preview Lab → · Contrast checker → · Palette generator →

#7271EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva