#7271FD#7271FD

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

Color values

HEX#7271FD
RGBrgb(114, 113, 253)
HSLhsl(240, 97%, 72%)
HSVhsv(240, 55%, 99%)
CMYKcmyk(54.9%, 55.3%, 0%, 0.8%)
CIE-LABlab(54.53, 38.56, -69.93)
CIE-LCHlch(54.53, 79.86, 298.87°)
OKLaboklab(62.35% 0.032 -0.2004)
OKLCHoklch(62.35% 0.203 279.1)
XYZxyz(30.5686, 22.4775, 95.6372)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271FD #FCFD71
analogous
#71B6FD #7271FD #B871FD
triadic
#7271FD #FD7271 #71FD72
tetradic
#7271FD #FD71B6 #FCFD71 #71FDB8
square
#7271FD #FD71B6 #FCFD71 #71FDB8
split-complementary
#7271FD #FDB871 #B6FD71
monochromatic
#0503F0 #3635FC #7271FD #AEADFE #E1E1FF

Accessibility & contrast

On white

3.82
#7271FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7271FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271FD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271FD#FFFFFF#000000##000000
##7271FD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007DFA
Tritanopia (blue-blind)
#2A92AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7271fd;
/* rgb */ color: rgb(114, 113, 253);
/* oklch */ color: oklch(62.4% 0.203 279.1);
Tailwind
colors: {
  custom: {
    50: '#a59aff',
    500: '#7271fd',
    950: '#000000',
  },
}
SCSS
$custom: #7271fd;
$custom-light: #a59aff;
$custom-dark: #000000;
JSON
{
  "hex": "#7271fd",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 240.429,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.62351,
    "c": 0.20291,
    "h": 279.1
  },
  "luminance": 0.2248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7271FD

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

Preview Lab → · Contrast checker → · Palette generator →

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