#7271C7#7271C7

#7271C7 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.9% C 0.129 H 282.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7271C7
RGBrgb(114, 113, 199)
HSLhsl(241, 43%, 61%)
HSVhsv(241, 43%, 78%)
CMYKcmyk(42.7%, 43.2%, 0%, 22%)
CIE-LABlab(51.28, 22.26, -44.78)
CIE-LCHlch(51.28, 50.01, 296.43°)
OKLaboklab(58.86% 0.0273 -0.1265)
OKLCHoklch(58.86% 0.129 282.2)
XYZxyz(23.1503, 19.5102, 56.5678)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271C7 #C6C771
analogous
#719BC7 #7271C7 #9D71C7
triadic
#7271C7 #C77271 #71C772
tetradic
#7271C7 #C7719B #C6C771 #71C79D
square
#7271C7 #C7719B #C6C771 #71C79D
split-complementary
#7271C7 #C79D71 #9BC771
monochromatic
#373688 #4847B4 #7271C7 #9E9DD8 #C9C9EA

Accessibility & contrast

On white

4.28
#7271C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7271C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271C7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271C7#FFFFFF#000000##000000
##7271C71.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DCA
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#588292
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7271c7;
/* rgb */ color: rgb(114, 113, 199);
/* oklch */ color: oklch(58.9% 0.129 282.2);
Tailwind
colors: {
  custom: {
    50: '#9e99d8',
    500: '#7271c7',
    950: '#000000',
  },
}
SCSS
$custom: #7271c7;
$custom-light: #9e99d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7271c7",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 240.698,
    "s": 43.434,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.12944,
    "h": 282.2
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#7271C7
secondary
#DADABA
accent
#B72FB5
background
#FAF9FD
surface
#F3F2FA
border
#CDCCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #7271C7

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

Preview Lab → · Contrast checker → · Palette generator →

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