#7271F8#7271F8

#7271F8 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.0% C 0.196 H 279.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7271F8
RGBrgb(114, 113, 248)
HSLhsl(240, 91%, 71%)
HSVhsv(240, 54%, 97%)
CMYKcmyk(54%, 54.4%, 0%, 2.7%)
CIE-LABlab(54.20, 37.02, -67.70)
CIE-LCHlch(54.20, 77.16, 298.67°)
OKLaboklab(62% 0.0319 -0.1938)
OKLCHoklch(62% 0.196 279.3)
XYZxyz(29.7825, 22.1631, 91.4973)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271F8 #F7F871
analogous
#71B4F8 #7271F8 #B571F8
triadic
#7271F8 #F87271 #71F872
tetradic
#7271F8 #F871B4 #F7F871 #71F8B5
square
#7271F8 #F871B4 #F7F871 #71F8B5
split-complementary
#7271F8 #F8B571 #B4F871
monochromatic
#0D0BE3 #3837F5 #7271F8 #ACABFB #E2E2FE

Accessibility & contrast

On white

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

On black

5.43
#7271F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271F8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271F8#FFFFFF#000000##000000
##7271F81.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1487FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#3190AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7271f8;
/* rgb */ color: rgb(114, 113, 248);
/* oklch */ color: oklch(62.0% 0.196 279.3);
Tailwind
colors: {
  custom: {
    50: '#a49afb',
    500: '#7271f8',
    950: '#000000',
  },
}
SCSS
$custom: #7271f8;
$custom-light: #a49afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7271f8",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 240.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62,
    "c": 0.19641,
    "h": 279.3
  },
  "luminance": 0.22165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7271F8

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

Preview Lab → · Contrast checker → · Palette generator →

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