#7271C3#7271C3

#7271C3 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.124 H 282.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7271C3
RGBrgb(114, 113, 195)
HSLhsl(241, 41%, 60%)
HSVhsv(241, 42%, 76%)
CMYKcmyk(41.5%, 42.1%, 0%, 23.5%)
CIE-LABlab(51.07, 21.10, -42.83)
CIE-LCHlch(51.07, 47.74, 296.23°)
OKLaboklab(58.63% 0.0267 -0.1208)
OKLCHoklch(58.63% 0.124 282.4)
XYZxyz(22.6920, 19.3269, 54.1540)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7271C3 #C2C371
analogous
#7199C3 #7271C3 #9B71C3
triadic
#7271C3 #C37271 #71C372
tetradic
#7271C3 #C37199 #C2C371 #71C39B
square
#7271C3 #C37199 #C2C371 #71C39B
split-complementary
#7271C3 #C39B71 #99C371
monochromatic
#383782 #4B49AD #7271C3 #9D9CD5 #C7C7E7

Accessibility & contrast

On white

4.32
#7271C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7271C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7271C3#FFFFFF#000000##000000
##7271C31.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC6
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#598190
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7271c3;
/* rgb */ color: rgb(114, 113, 195);
/* oklch */ color: oklch(58.6% 0.124 282.4);
Tailwind
colors: {
  custom: {
    50: '#9e99d5',
    500: '#7271c3',
    950: '#000000',
  },
}
SCSS
$custom: #7271c3;
$custom-light: #9e99d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7271c3",
  "rgb": {
    "r": 114,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 240.732,
    "s": 40.594,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58634,
    "c": 0.12372,
    "h": 282.4
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#7271C3
secondary
#D7D8B8
accent
#B432B2
background
#FAF9FD
surface
#F3F2FA
border
#CDCCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #7271C3

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

Preview Lab → · Contrast checker → · Palette generator →

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