#7271FB#7271FB

#7271FB is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.2% C 0.200 H 279.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7271FB
RGBrgb(114, 113, 251)
HSLhsl(240, 95%, 71%)
HSVhsv(240, 55%, 98%)
CMYKcmyk(54.6%, 55%, 0%, 1.6%)
CIE-LABlab(54.40, 37.95, -69.04)
CIE-LCHlch(54.40, 78.78, 298.79°)
OKLaboklab(62.21% 0.0319 -0.1978)
OKLCHoklch(62.21% 0.2 279.2)
XYZxyz(30.2517, 22.3507, 93.9681)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271FB #FAFB71
analogous
#71B5FB #7271FB #B771FB
triadic
#7271FB #FB7271 #71FB72
tetradic
#7271FB #FB71B5 #FAFB71 #71FBB7
square
#7271FB #FB71B5 #FAFB71 #71FBB7
split-complementary
#7271FB #FBB771 #B5FB71
monochromatic
#0807EB #3735F9 #7271FB #ADADFD #E1E1FE

Accessibility & contrast

On white

3.84
#7271FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7271FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271FB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271FB#FFFFFF#000000##000000
##7271FB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0688FF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#2D91AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7271fb;
/* rgb */ color: rgb(114, 113, 251);
/* oklch */ color: oklch(62.2% 0.200 279.2);
Tailwind
colors: {
  custom: {
    50: '#a59afd',
    500: '#7271fb',
    950: '#000000',
  },
}
SCSS
$custom: #7271fb;
$custom-light: #a59afd;
$custom-dark: #000000;
JSON
{
  "hex": "#7271fb",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 240.435,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6221,
    "c": 0.20032,
    "h": 279.2
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7271FB

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

Preview Lab → · Contrast checker → · Palette generator →

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