#7271FA#7271FA

#7271FA is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.1% C 0.199 H 279.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7271FA
RGBrgb(114, 113, 250)
HSLhsl(240, 93%, 71%)
HSVhsv(240, 55%, 98%)
CMYKcmyk(54.4%, 54.8%, 0%, 2%)
CIE-LABlab(54.33, 37.64, -68.59)
CIE-LCHlch(54.33, 78.24, 298.75°)
OKLaboklab(62.14% 0.0319 -0.1964)
OKLCHoklch(62.14% 0.199 279.2)
XYZxyz(30.0945, 22.2878, 93.1401)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271FA #F9FA71
analogous
#71B4FA #7271FA #B671FA
triadic
#7271FA #FA7271 #71FA72
tetradic
#7271FA #FA71B4 #F9FA71 #71FAB6
square
#7271FA #FA71B4 #F9FA71 #71FAB6
split-complementary
#7271FA #FAB671 #B4FA71
monochromatic
#0A08E8 #3736F8 #7271FA #ADACFC #E2E1FE

Accessibility & contrast

On white

3.85
#7271FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7271FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271FA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271FA#FFFFFF#000000##000000
##7271FA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C87FF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#2E91AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7271fa;
/* rgb */ color: rgb(114, 113, 250);
/* oklch */ color: oklch(62.1% 0.199 279.2);
Tailwind
colors: {
  custom: {
    50: '#a59afd',
    500: '#7271fa',
    950: '#000000',
  },
}
SCSS
$custom: #7271fa;
$custom-light: #a59afd;
$custom-dark: #000000;
JSON
{
  "hex": "#7271fa",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 240.438,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6214,
    "c": 0.19901,
    "h": 279.2
  },
  "luminance": 0.2229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7271FA

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

Preview Lab → · Contrast checker → · Palette generator →

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