#7271F9#7271F9

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

Color values

HEX#7271F9
RGBrgb(114, 113, 249)
HSLhsl(240, 92%, 71%)
HSVhsv(240, 55%, 98%)
CMYKcmyk(54.2%, 54.6%, 0%, 2.4%)
CIE-LABlab(54.27, 37.33, -68.15)
CIE-LCHlch(54.27, 77.70, 298.71°)
OKLaboklab(62.07% 0.0319 -0.1951)
OKLCHoklch(62.07% 0.198 279.3)
XYZxyz(29.9381, 22.2253, 92.3165)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271F9 #F8F971
analogous
#71B4F9 #7271F9 #B671F9
triadic
#7271F9 #F97271 #71F972
tetradic
#7271F9 #F971B4 #F8F971 #71F9B6
square
#7271F9 #F971B4 #F8F971 #71F9B6
split-complementary
#7271F9 #F9B671 #B4F971
monochromatic
#0B0AE6 #3836F7 #7271F9 #ACACFB #E2E2FE

Accessibility & contrast

On white

3.86
#7271F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7271F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271F9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271F9#FFFFFF#000000##000000
##7271F91.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1087FE
Deuteranopia (green-blind)
#007CF6
Tritanopia (blue-blind)
#3090AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7271f9;
/* rgb */ color: rgb(114, 113, 249);
/* oklch */ color: oklch(62.1% 0.198 279.3);
Tailwind
colors: {
  custom: {
    50: '#a49afc',
    500: '#7271f9',
    950: '#000000',
  },
}
SCSS
$custom: #7271f9;
$custom-light: #a49afc;
$custom-dark: #000000;
JSON
{
  "hex": "#7271f9",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 240.441,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.19772,
    "h": 279.3
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7271F9

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

Preview Lab → · Contrast checker → · Palette generator →

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