#7272E2#7272E2

#7272E2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.166 H 280.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7272E2
RGBrgb(114, 114, 226)
HSLhsl(240, 66%, 67%)
HSVhsv(240, 50%, 89%)
CMYKcmyk(49.6%, 49.6%, 0%, 11.4%)
CIE-LABlab(53.06, 29.71, -57.25)
CIE-LCHlch(53.06, 64.50, 297.42°)
OKLaboklab(60.71% 0.0295 -0.1631)
OKLCHoklch(60.71% 0.166 280.3)
XYZxyz(26.6800, 21.1015, 74.6039)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7272E2 #E2E272
analogous
#72AAE2 #7272E2 #AA72E2
triadic
#7272E2 #E27272 #72E272
tetradic
#7272E2 #E272AA #E2E272 #72E2AA
square
#7272E2 #E272AA #E2E272 #72E2AA
split-complementary
#7272E2 #E2AA72 #AAE272
monochromatic
#2525B4 #3F3FD8 #7272E2 #A5A5EC #D8D8F7

Accessibility & contrast

On white

4.02
#7272E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7272E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7272E2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7272E2#FFFFFF#000000##000000
##7272E21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D83E6
Deuteranopia (green-blind)
#337BE0
Tritanopia (blue-blind)
#478A9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7272e2;
/* rgb */ color: rgb(114, 114, 226);
/* oklch */ color: oklch(60.7% 0.166 280.3);
Tailwind
colors: {
  custom: {
    50: '#a19aec',
    500: '#7272e2',
    950: '#000000',
  },
}
SCSS
$custom: #7272e2;
$custom-light: #a19aec;
$custom-dark: #000000;
JSON
{
  "hex": "#7272e2",
  "rgb": {
    "r": 114,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.16572,
    "h": 280.3
  },
  "luminance": 0.21103
}

Semantic roles & 50–950 ramp

primary
#7272E2
secondary
#EAEAC6
accent
#CE18CE
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7272E2

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

Preview Lab → · Contrast checker → · Palette generator →

#7272E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva