#7271F1#7271F1

#7271F1 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.5% C 0.187 H 279.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7271F1
RGBrgb(114, 113, 241)
HSLhsl(240, 82%, 69%)
HSVhsv(240, 53%, 95%)
CMYKcmyk(52.7%, 53.1%, 0%, 5.5%)
CIE-LABlab(53.75, 34.88, -64.54)
CIE-LCHlch(53.75, 73.36, 298.39°)
OKLaboklab(61.52% 0.0316 -0.1845)
OKLCHoklch(61.52% 0.187 279.7)
XYZxyz(28.7168, 21.7368, 85.8845)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271F1 #F0F171
analogous
#71B0F1 #7271F1 #B271F1
triadic
#7271F1 #F17271 #71F172
tetradic
#7271F1 #F171B0 #F0F171 #71F1B2
square
#7271F1 #F171B0 #F0F171 #71F1B2
split-complementary
#7271F1 #F1B271 #B0F171
monochromatic
#1615D3 #3B39EC #7271F1 #A9A9F6 #E1E0FC

Accessibility & contrast

On white

3.93
#7271F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7271F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271F1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271F1#FFFFFF#000000##000000
##7271F11.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F5
Deuteranopia (green-blind)
#0B7CEE
Tritanopia (blue-blind)
#398EA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7271f1;
/* rgb */ color: rgb(114, 113, 241);
/* oklch */ color: oklch(61.5% 0.187 279.7);
Tailwind
colors: {
  custom: {
    50: '#a39af6',
    500: '#7271f1',
    950: '#000000',
  },
}
SCSS
$custom: #7271f1;
$custom-light: #a39af6;
$custom-dark: #000000;
JSON
{
  "hex": "#7271f1",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 240.469,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.1872,
    "h": 279.7
  },
  "luminance": 0.21739
}

Semantic roles & 50–950 ramp

primary
#7271F1
secondary
#F1F1CC
accent
#DE07DD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7271F1

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

Preview Lab → · Contrast checker → · Palette generator →

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