#7271AA#7271AA

#7271AA is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.3% C 0.087 H 284.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7271AA
RGBrgb(114, 113, 170)
HSLhsl(241, 25%, 55%)
HSVhsv(241, 34%, 67%)
CMYKcmyk(32.9%, 33.5%, 0%, 33.3%)
CIE-LABlab(49.85, 14.07, -30.30)
CIE-LCHlch(49.85, 33.41, 294.90°)
OKLaboklab(57.3% 0.0212 -0.0844)
OKLCHoklch(57.3% 0.087 284.1)
XYZxyz(20.0983, 18.2894, 40.4937)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271AA #A9AA71
analogous
#718CAA #7271AA #8E71AA
triadic
#7271AA #AA7271 #71AA72
tetradic
#7271AA #AA718C #A9AA71 #71AA8E
square
#7271AA #AA718C #A9AA71 #71AA8E
split-complementary
#7271AA #AA8E71 #8CAA71
monochromatic
#3D3C64 #54538B #7271AA #9897C1 #BEBED8

Accessibility & contrast

On white

4.51
#7271AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7271AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7271AA#FFFFFF#000000##000000
##7271AA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6078AC
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#647C86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7271aa;
/* rgb */ color: rgb(114, 113, 170);
/* oklch */ color: oklch(57.3% 0.087 284.1);
Tailwind
colors: {
  custom: {
    50: '#9c99c3',
    500: '#7271aa',
    950: '#000000',
  },
}
SCSS
$custom: #7271aa;
$custom-light: #9c99c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7271aa",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 241.053,
    "s": 25.11,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57298,
    "c": 0.08707,
    "h": 284.1
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#7271AA
secondary
#C7C7B0
accent
#C266C0
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0E0E12
muted
#7E7E81

Preview Lab

Preview with #7271AA

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

Preview Lab → · Contrast checker → · Palette generator →

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