#7272F2#7272F2

#7272F2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.187 H 279.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7272F2
RGBrgb(114, 114, 242)
HSLhsl(240, 83%, 70%)
HSVhsv(240, 53%, 95%)
CMYKcmyk(52.9%, 52.9%, 0%, 5.1%)
CIE-LABlab(54.05, 34.59, -64.61)
CIE-LCHlch(54.05, 73.28, 298.16°)
OKLaboklab(61.76% 0.0306 -0.1847)
OKLCHoklch(61.76% 0.187 279.4)
XYZxyz(28.9788, 22.0210, 86.7107)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7272F2 #F2F272
analogous
#72B2F2 #7272F2 #B272F2
triadic
#7272F2 #F27272 #72F272
tetradic
#7272F2 #F272B2 #F2F272 #72F2B2
square
#7272F2 #F272B2 #F2F272 #72F2B2
split-complementary
#7272F2 #F2B272 #B2F272
monochromatic
#1414D6 #3A3AED #7272F2 #AAAAF7 #E2E2FC

Accessibility & contrast

On white

3.89
#7272F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7272F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7272F2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7272F2#FFFFFF#000000##000000
##7272F21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2886F6
Deuteranopia (green-blind)
#0E7CEF
Tritanopia (blue-blind)
#388FA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7272f2;
/* rgb */ color: rgb(114, 114, 242);
/* oklch */ color: oklch(61.8% 0.187 279.4);
Tailwind
colors: {
  custom: {
    50: '#a39af7',
    500: '#7272f2',
    950: '#000000',
  },
}
SCSS
$custom: #7272f2;
$custom-light: #a39af7;
$custom-dark: #000000;
JSON
{
  "hex": "#7272f2",
  "rgb": {
    "r": 114,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.18723,
    "h": 279.4
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#7272F2
secondary
#F2F2CE
accent
#E006E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7272F2

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

Preview Lab → · Contrast checker → · Palette generator →

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