#7271F6#7271F6

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

Color values

HEX#7271F6
RGBrgb(114, 113, 246)
HSLhsl(240, 88%, 70%)
HSVhsv(240, 54%, 96%)
CMYKcmyk(53.7%, 54.1%, 0%, 3.5%)
CIE-LABlab(54.07, 36.41, -66.80)
CIE-LCHlch(54.07, 76.08, 298.59°)
OKLaboklab(61.86% 0.0318 -0.1912)
OKLCHoklch(61.86% 0.194 279.4)
XYZxyz(29.4739, 22.0396, 89.8719)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271F6 #F5F671
analogous
#71B2F6 #7271F6 #B471F6
triadic
#7271F6 #F67271 #71F672
tetradic
#7271F6 #F671B2 #F5F671 #71F6B4
square
#7271F6 #F671B2 #F5F671 #71F6B4
split-complementary
#7271F6 #F6B471 #B2F671
monochromatic
#100EDE #3937F2 #7271F6 #ABABFA #E2E2FD

Accessibility & contrast

On white

3.88
#7271F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7271F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271F6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271F6#FFFFFF#000000##000000
##7271F61.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A87FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#348FA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7271f6;
/* rgb */ color: rgb(114, 113, 246);
/* oklch */ color: oklch(61.9% 0.194 279.4);
Tailwind
colors: {
  custom: {
    50: '#a49afa',
    500: '#7271f6',
    950: '#000000',
  },
}
SCSS
$custom: #7271f6;
$custom-light: #a49afa;
$custom-dark: #000000;
JSON
{
  "hex": "#7271f6",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 240.451,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61861,
    "c": 0.19379,
    "h": 279.4
  },
  "luminance": 0.22041
}

Semantic roles & 50–950 ramp

primary
#7271F6
secondary
#F3F4CF
accent
#E501E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7271F6

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

Preview Lab → · Contrast checker → · Palette generator →

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