#7271D9#7271D9

#7271D9 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.155 H 281.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7271D9
RGBrgb(114, 113, 217)
HSLhsl(241, 58%, 65%)
HSVhsv(241, 48%, 85%)
CMYKcmyk(47.5%, 47.9%, 0%, 14.9%)
CIE-LABlab(52.28, 27.59, -53.42)
CIE-LCHlch(52.28, 60.13, 297.32°)
OKLaboklab(59.95% 0.0298 -0.1518)
OKLCHoklch(59.95% 0.155 281.1)
XYZxyz(25.3652, 20.3961, 68.2325)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271D9 #D8D971
analogous
#71A4D9 #7271D9 #A671D9
triadic
#7271D9 #D97271 #71D972
tetradic
#7271D9 #D971A4 #D8D971 #71D9A6
square
#7271D9 #D971A4 #D8D971 #71D9A6
split-complementary
#7271D9 #D9A671 #A4D971
monochromatic
#2D2CA4 #4241CC #7271D9 #A2A1E6 #D2D2F3

Accessibility & contrast

On white

4.13
#7271D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7271D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7271D9#FFFFFF#000000##000000
##7271D91.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DD
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#4D879B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7271d9;
/* rgb */ color: rgb(114, 113, 217);
/* oklch */ color: oklch(59.9% 0.155 281.1);
Tailwind
colors: {
  custom: {
    50: '#a099e5',
    500: '#7271d9',
    950: '#000000',
  },
}
SCSS
$custom: #7271d9;
$custom-light: #a099e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7271d9",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 240.577,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.15472,
    "h": 281.1
  },
  "luminance": 0.20397
}

Semantic roles & 50–950 ramp

primary
#7271D9
secondary
#E4E5C1
accent
#C520C4
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #7271D9

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

Preview Lab → · Contrast checker → · Palette generator →

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