#7271AE#7271AE

#7271AE is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.5% C 0.093 H 283.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7271AE
RGBrgb(114, 113, 174)
HSLhsl(241, 27%, 56%)
HSVhsv(241, 35%, 68%)
CMYKcmyk(34.5%, 35.1%, 0%, 31.8%)
CIE-LABlab(50.03, 15.16, -32.34)
CIE-LCHlch(50.03, 35.72, 295.11°)
OKLaboklab(57.5% 0.0222 -0.0903)
OKLCHoklch(57.5% 0.093 283.8)
XYZxyz(20.4824, 18.4430, 42.5169)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271AE #ADAE71
analogous
#718FAE #7271AE #9171AE
triadic
#7271AE #AE7271 #71AE72
tetradic
#7271AE #AE718F #ADAE71 #71AE91
square
#7271AE #AE718F #ADAE71 #71AE91
split-complementary
#7271AE #AE9171 #8FAE71
monochromatic
#3D3C69 #535290 #7271AE #9998C4 #BFBFDA

Accessibility & contrast

On white

4.48
#7271AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7271AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271AE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271AE#FFFFFF#000000##000000
##7271AE1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B0
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#627C87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7271ae;
/* rgb */ color: rgb(114, 113, 174);
/* oklch */ color: oklch(57.5% 0.093 283.8);
Tailwind
colors: {
  custom: {
    50: '#9c99c6',
    500: '#7271ae',
    950: '#000000',
  },
}
SCSS
$custom: #7271ae;
$custom-light: #9c99c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7271ae",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 240.984,
    "s": 27.354,
    "l": 56.275
  },
  "oklch": {
    "l": 0.575,
    "c": 0.09303,
    "h": 283.8
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#7271AE
secondary
#CACAB1
accent
#C464C2
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0E0E13
muted
#7E7E82

Preview Lab

Preview with #7271AE

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

Preview Lab → · Contrast checker → · Palette generator →

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