#7271D1#7271D1

#7271D1 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.144 H 281.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7271D1
RGBrgb(114, 113, 209)
HSLhsl(241, 51%, 63%)
HSVhsv(241, 46%, 82%)
CMYKcmyk(45.5%, 45.9%, 0%, 18%)
CIE-LABlab(51.83, 25.20, -49.61)
CIE-LCHlch(51.83, 55.65, 296.93°)
OKLaboklab(59.46% 0.0288 -0.1407)
OKLCHoklch(59.46% 0.144 281.6)
XYZxyz(24.3498, 19.9900, 62.8847)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271D1 #D0D171
analogous
#71A0D1 #7271D1 #A271D1
triadic
#7271D1 #D17271 #71D172
tetradic
#7271D1 #D171A0 #D0D171 #71D1A2
square
#7271D1 #D171A0 #D0D171 #71D1A2
split-complementary
#7271D1 #D1A271 #A0D171
monochromatic
#323197 #4443C2 #7271D1 #A09FE0 #CECDEF

Accessibility & contrast

On white

4.20
#7271D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7271D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7271D1#FFFFFF#000000##000000
##7271D11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7FD5
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#528597
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7271d1;
/* rgb */ color: rgb(114, 113, 209);
/* oklch */ color: oklch(59.5% 0.144 281.6);
Tailwind
colors: {
  custom: {
    50: '#a099df',
    500: '#7271d1',
    950: '#000000',
  },
}
SCSS
$custom: #7271d1;
$custom-light: #a099df;
$custom-dark: #000000;
JSON
{
  "hex": "#7271d1",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 240.625,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.14359,
    "h": 281.6
  },
  "luminance": 0.19991
}

Semantic roles & 50–950 ramp

primary
#7271D1
secondary
#E0E0BE
accent
#BE27BD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7271D1

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

Preview Lab → · Contrast checker → · Palette generator →

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