#7271E9#7271E9

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

Color values

HEX#7271E9
RGBrgb(114, 113, 233)
HSLhsl(241, 73%, 68%)
HSVhsv(241, 52%, 91%)
CMYKcmyk(51.1%, 51.5%, 0%, 8.6%)
CIE-LABlab(53.24, 32.43, -60.88)
CIE-LCHlch(53.24, 68.98, 298.04°)
OKLaboklab(60.98% 0.0312 -0.1738)
OKLCHoklch(60.98% 0.177 280.2)
XYZxyz(27.5480, 21.2693, 79.7288)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271E9 #E8E971
analogous
#71ACE9 #7271E9 #AE71E9
triadic
#7271E9 #E97271 #71E972
tetradic
#7271E9 #E971AC #E8E971 #71E9AE
square
#7271E9 #E971AC #E8E971 #71E9AE
split-complementary
#7271E9 #E9AE71 #ACE971
monochromatic
#1F1EC2 #3D3CE1 #7271E9 #A7A6F1 #DBDBF9

Accessibility & contrast

On white

4.00
#7271E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7271E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271E9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271E9#FFFFFF#000000##000000
##7271E91.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384ED
Deuteranopia (green-blind)
#257BE6
Tritanopia (blue-blind)
#418CA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7271e9;
/* rgb */ color: rgb(114, 113, 233);
/* oklch */ color: oklch(61.0% 0.177 280.2);
Tailwind
colors: {
  custom: {
    50: '#a299f1',
    500: '#7271e9',
    950: '#000000',
  },
}
SCSS
$custom: #7271e9;
$custom-light: #a299f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7271e9",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 240.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.17654,
    "h": 280.2
  },
  "luminance": 0.21271
}

Semantic roles & 50–950 ramp

primary
#7271E9
secondary
#EDEDC8
accent
#D510D4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7271E9

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

Preview Lab → · Contrast checker → · Palette generator →

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