#7271F7#7271F7

#7271F7 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.9% C 0.195 H 279.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7271F7
RGBrgb(114, 113, 247)
HSLhsl(240, 89%, 71%)
HSVhsv(240, 54%, 97%)
CMYKcmyk(53.8%, 54.3%, 0%, 3.1%)
CIE-LABlab(54.13, 36.72, -67.25)
CIE-LCHlch(54.13, 76.62, 298.63°)
OKLaboklab(61.93% 0.0318 -0.1925)
OKLCHoklch(61.93% 0.195 279.4)
XYZxyz(29.6278, 22.1012, 90.6824)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271F7 #F6F771
analogous
#71B3F7 #7271F7 #B571F7
triadic
#7271F7 #F77271 #71F772
tetradic
#7271F7 #F771B3 #F6F771 #71F7B5
square
#7271F7 #F771B3 #F6F771 #71F7B5
split-complementary
#7271F7 #F7B571 #B3F771
monochromatic
#0E0DE1 #3837F4 #7271F7 #ACABFA #E2E2FD

Accessibility & contrast

On white

3.87
#7271F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7271F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271F7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271F7#FFFFFF#000000##000000
##7271F71.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1887FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#3290A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7271f7;
/* rgb */ color: rgb(114, 113, 247);
/* oklch */ color: oklch(61.9% 0.195 279.4);
Tailwind
colors: {
  custom: {
    50: '#a49afb',
    500: '#7271f7',
    950: '#000000',
  },
}
SCSS
$custom: #7271f7;
$custom-light: #a49afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7271f7",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 240.448,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.1951,
    "h": 279.4
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#7271F7
secondary
#F4F4D0
accent
#E600E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7271F7

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

Preview Lab → · Contrast checker → · Palette generator →

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