#7271A2#7271A2

#7271A2 is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.9% C 0.075 H 284.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7271A2
RGBrgb(114, 113, 162)
HSLhsl(241, 21%, 54%)
HSVhsv(241, 30%, 64%)
CMYKcmyk(29.6%, 30.2%, 0%, 36.5%)
CIE-LABlab(49.49, 11.92, -26.18)
CIE-LCHlch(49.49, 28.77, 294.48°)
OKLaboklab(56.91% 0.019 -0.0726)
OKLCHoklch(56.91% 0.075 284.7)
XYZxyz(19.3644, 17.9958, 36.6287)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271A2 #A1A271
analogous
#7189A2 #7271A2 #8B71A2
triadic
#7271A2 #A27271 #71A272
tetradic
#7271A2 #A27189 #A1A271 #71A28B
square
#7271A2 #A27189 #A1A271 #71A28B
split-complementary
#7271A2 #A28B71 #89A271
monochromatic
#3D3C5C #565581 #7271A2 #9796BA #BBBBD2

Accessibility & contrast

On white

4.57
#7271A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7271A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7271A2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7271A2#FFFFFF#000000##000000
##7271A21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#6274A1
Tritanopia (blue-blind)
#667A82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7271a2;
/* rgb */ color: rgb(114, 113, 162);
/* oklch */ color: oklch(56.9% 0.075 284.7);
Tailwind
colors: {
  custom: {
    50: '#9c99bd',
    500: '#7271a2',
    950: '#000000',
  },
}
SCSS
$custom: #7271a2;
$custom-light: #9c99bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7271a2",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 241.224,
    "s": 20.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.07505,
    "h": 284.7
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#7271A2
secondary
#C1C2AD
accent
#BD6ABC
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E12
muted
#7E7E81

Preview Lab

Preview with #7271A2

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

Preview Lab → · Contrast checker → · Palette generator →

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