#7271FE#7271FE

#7271FE is a light, highly saturated blue. Relative luminance 0.225; OKLCH L 62.4% C 0.204 H 279.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7271FE
RGBrgb(114, 113, 254)
HSLhsl(240, 99%, 72%)
HSVhsv(240, 56%, 100%)
CMYKcmyk(55.1%, 55.5%, 0%, 0.4%)
CIE-LABlab(54.60, 38.87, -70.38)
CIE-LCHlch(54.60, 80.40, 298.91°)
OKLaboklab(62.42% 0.032 -0.2017)
OKLCHoklch(62.42% 0.204 279)
XYZxyz(30.7283, 22.5414, 96.4784)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271FE #FDFE71
analogous
#71B6FE #7271FE #B971FE
triadic
#7271FE #FE7271 #71FE72
tetradic
#7271FE #FE71B6 #FDFE71 #71FEB9
square
#7271FE #FE71B6 #FDFE71 #71FEB9
split-complementary
#7271FE #FEB971 #B6FE71
monochromatic
#0302F3 #3634FE #7271FE #AEAEFE #E1E1FF

Accessibility & contrast

On white

3.81
#7271FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7271FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271FE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271FE#FFFFFF#000000##000000
##7271FE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#2892AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7271fe;
/* rgb */ color: rgb(114, 113, 254);
/* oklch */ color: oklch(62.4% 0.204 279.0);
Tailwind
colors: {
  custom: {
    50: '#a59aff',
    500: '#7271fe',
    950: '#000000',
  },
}
SCSS
$custom: #7271fe;
$custom-light: #a59aff;
$custom-dark: #000000;
JSON
{
  "hex": "#7271fe",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 240.426,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.62422,
    "c": 0.20421,
    "h": 279
  },
  "luminance": 0.22543
}

Semantic roles & 50–950 ramp

primary
#7271FE
secondary
#F7F7D4
accent
#E600E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7271FE

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

Preview Lab → · Contrast checker → · Palette generator →

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