#7271DF#7271DF

#7271DF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.163 H 280.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7271DF
RGBrgb(114, 113, 223)
HSLhsl(241, 63%, 66%)
HSVhsv(241, 49%, 87%)
CMYKcmyk(48.9%, 49.3%, 0%, 12.5%)
CIE-LABlab(52.64, 29.40, -56.24)
CIE-LCHlch(52.64, 63.46, 297.60°)
OKLaboklab(60.33% 0.0304 -0.1601)
OKLCHoklch(60.33% 0.163 280.7)
XYZxyz(26.1598, 20.7140, 72.4175)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271DF #DEDF71
analogous
#71A7DF #7271DF #A971DF
triadic
#7271DF #DF7271 #71DF72
tetradic
#7271DF #DF71A7 #DEDF71 #71DFA9
square
#7271DF #DF71A7 #DEDF71 #71DFA9
split-complementary
#7271DF #DFA971 #A7DF71
monochromatic
#2927AE #403FD4 #7271DF #A4A3EA #D5D5F6

Accessibility & contrast

On white

4.08
#7271DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7271DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7271DF#FFFFFF#000000##000000
##7271DF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E82E3
Deuteranopia (green-blind)
#357ADD
Tritanopia (blue-blind)
#49899D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7271df;
/* rgb */ color: rgb(114, 113, 223);
/* oklch */ color: oklch(60.3% 0.163 280.7);
Tailwind
colors: {
  custom: {
    50: '#a199ea',
    500: '#7271df',
    950: '#000000',
  },
}
SCSS
$custom: #7271df;
$custom-light: #a199ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7271df",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 240.545,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.16298,
    "h": 280.7
  },
  "luminance": 0.20715
}

Semantic roles & 50–950 ramp

primary
#7271DF
secondary
#E8E8C4
accent
#CB1BC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #7271DF

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

Preview Lab → · Contrast checker → · Palette generator →

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