#7271CE#7271CE

#7271CE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.139 H 281.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7271CE
RGBrgb(114, 113, 206)
HSLhsl(241, 49%, 63%)
HSVhsv(241, 45%, 81%)
CMYKcmyk(44.7%, 45.1%, 0%, 19.2%)
CIE-LABlab(51.66, 24.32, -48.17)
CIE-LCHlch(51.66, 53.96, 296.78°)
OKLaboklab(59.28% 0.0284 -0.1364)
OKLCHoklch(59.28% 0.139 281.8)
XYZxyz(23.9818, 19.8428, 60.9470)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271CE #CDCE71
analogous
#719FCE #7271CE #A071CE
triadic
#7271CE #CE7271 #71CE72
tetradic
#7271CE #CE719F #CDCE71 #71CEA0
square
#7271CE #CE719F #CDCE71 #71CEA0
split-complementary
#7271CE #CEA071 #9FCE71
monochromatic
#333292 #4544BE #7271CE #9F9EDE #CCCCED

Accessibility & contrast

On white

4.23
#7271CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7271CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271CE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271CE#FFFFFF#000000##000000
##7271CE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#548495
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7271ce;
/* rgb */ color: rgb(114, 113, 206);
/* oklch */ color: oklch(59.3% 0.139 281.8);
Tailwind
colors: {
  custom: {
    50: '#9f99dd',
    500: '#7271ce',
    950: '#000000',
  },
}
SCSS
$custom: #7271ce;
$custom-light: #9f99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7271ce",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 240.645,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.13937,
    "h": 281.8
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#7271CE
secondary
#DEDEBC
accent
#BC2ABA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7271CE

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

Preview Lab → · Contrast checker → · Palette generator →

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