#7271FF#7271FF

#7271FF is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.5% C 0.206 H 279.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7271FF
RGBrgb(114, 113, 255)
HSLhsl(240, 100%, 72%)
HSVhsv(240, 56%, 100%)
CMYKcmyk(55.3%, 55.7%, 0%, 0%)
CIE-LABlab(54.66, 39.18, -70.82)
CIE-LCHlch(54.66, 80.94, 298.95°)
OKLaboklab(62.49% 0.032 -0.203)
OKLCHoklch(62.49% 0.206 279)
XYZxyz(30.8889, 22.6056, 97.3240)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271FF #FEFF71
analogous
#71B7FF #7271FF #B971FF
triadic
#7271FF #FF7271 #71FF72
tetradic
#7271FF #FF71B7 #FEFF71 #71FFB9
square
#7271FF #FF71B7 #FEFF71 #71FFB9
split-complementary
#7271FF #FFB971 #B7FF71
monochromatic
#0200F6 #3534FF #7271FF #AFAEFF #E1E0FF

Accessibility & contrast

On white

3.80
#7271FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7271FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271FF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271FF#FFFFFF#000000##000000
##7271FF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#007DFC
Tritanopia (blue-blind)
#2692AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7271ff;
/* rgb */ color: rgb(114, 113, 255);
/* oklch */ color: oklch(62.5% 0.206 279.0);
Tailwind
colors: {
  custom: {
    50: '#a59aff',
    500: '#7271ff',
    950: '#000000',
  },
}
SCSS
$custom: #7271ff;
$custom-light: #a59aff;
$custom-dark: #000000;
JSON
{
  "hex": "#7271ff",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 240.423,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.62493,
    "c": 0.20551,
    "h": 279
  },
  "luminance": 0.22608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7271FF

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

Preview Lab → · Contrast checker → · Palette generator →

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