#7271C8#7271C8

#7271C8 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.131 H 282.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7271C8
RGBrgb(114, 113, 200)
HSLhsl(241, 44%, 61%)
HSVhsv(241, 44%, 78%)
CMYKcmyk(43%, 43.5%, 0%, 21.6%)
CIE-LABlab(51.33, 22.55, -45.27)
CIE-LCHlch(51.33, 50.58, 296.48°)
OKLaboklab(58.92% 0.0275 -0.1279)
OKLCHoklch(58.92% 0.131 282.1)
XYZxyz(23.2668, 19.5568, 57.1813)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271C8 #C7C871
analogous
#719CC8 #7271C8 #9E71C8
triadic
#7271C8 #C87271 #71C872
tetradic
#7271C8 #C8719C #C7C871 #71C89E
square
#7271C8 #C8719C #C7C871 #71C89E
split-complementary
#7271C8 #C89E71 #9CC871
monochromatic
#363589 #4846B6 #7271C8 #9E9DD9 #CAC9EA

Accessibility & contrast

On white

4.28
#7271C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7271C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7271C8#FFFFFF#000000##000000
##7271C81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#4C77C6
Tritanopia (blue-blind)
#578393
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7271c8;
/* rgb */ color: rgb(114, 113, 200);
/* oklch */ color: oklch(58.9% 0.131 282.1);
Tailwind
colors: {
  custom: {
    50: '#9f99d9',
    500: '#7271c8',
    950: '#000000',
  },
}
SCSS
$custom: #7271c8;
$custom-light: #9f99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7271c8",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 240.69,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.13086,
    "h": 282.1
  },
  "luminance": 0.19558
}

Semantic roles & 50–950 ramp

primary
#7271C8
secondary
#DADBBA
accent
#B72EB6
background
#FAF9FD
surface
#F3F2FA
border
#CDCCD3
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7271C8

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

Preview Lab → · Contrast checker → · Palette generator →

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