#7271FC#7271FC

#7271FC is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.3% C 0.202 H 279.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7271FC
RGBrgb(114, 113, 252)
HSLhsl(240, 96%, 72%)
HSVhsv(240, 55%, 99%)
CMYKcmyk(54.8%, 55.2%, 0%, 1.2%)
CIE-LABlab(54.46, 38.25, -69.49)
CIE-LCHlch(54.46, 79.32, 298.83°)
OKLaboklab(62.28% 0.032 -0.1991)
OKLCHoklch(62.28% 0.202 279.1)
XYZxyz(30.4097, 22.4139, 94.8005)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271FC #FBFC71
analogous
#71B6FC #7271FC #B871FC
triadic
#7271FC #FC7271 #71FC72
tetradic
#7271FC #FC71B6 #FBFC71 #71FCB8
square
#7271FC #FC71B6 #FBFC71 #71FCB8
split-complementary
#7271FC #FCB871 #B6FC71
monochromatic
#0705EE #3635FB #7271FC #AEADFD #E1E1FE

Accessibility & contrast

On white

3.83
#7271FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7271FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271FC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271FC#FFFFFF#000000##000000
##7271FC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7271fc;
/* rgb */ color: rgb(114, 113, 252);
/* oklch */ color: oklch(62.3% 0.202 279.1);
Tailwind
colors: {
  custom: {
    50: '#a59afe',
    500: '#7271fc',
    950: '#000000',
  },
}
SCSS
$custom: #7271fc;
$custom-light: #a59afe;
$custom-dark: #000000;
JSON
{
  "hex": "#7271fc",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 240.432,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.20162,
    "h": 279.1
  },
  "luminance": 0.22416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7271FC

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

Preview Lab → · Contrast checker → · Palette generator →

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