#7072F5#7072F5

#7072F5 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.8% C 0.192 H 278.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7072F5
RGBrgb(112, 114, 245)
HSLhsl(239, 87%, 70%)
HSVhsv(239, 54%, 96%)
CMYKcmyk(54.3%, 53.5%, 0%, 3.9%)
CIE-LABlab(54.10, 35.12, -66.20)
CIE-LCHlch(54.10, 74.94, 297.95°)
OKLaboklab(61.83% 0.0285 -0.1894)
OKLCHoklch(61.83% 0.192 278.5)
XYZxyz(29.1756, 22.0700, 89.0910)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7072F5 #F5F370
analogous
#70B4F5 #7072F5 #B170F5
triadic
#7072F5 #F57072 #72F570
tetradic
#7072F5 #F570B4 #F5F370 #70F5B1
square
#7072F5 #F570B4 #F5F370 #70F5B1
split-complementary
#7072F5 #F5B170 #B4F570
monochromatic
#0F12DB #373AF1 #7072F5 #A9AAF9 #E2E3FD

Accessibility & contrast

On white

3.88
#7072F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7072F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7072F5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7072F5#FFFFFF#000000##000000
##7072F51.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2087FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#2E90A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7072f5;
/* rgb */ color: rgb(112, 114, 245);
/* oklch */ color: oklch(61.8% 0.192 278.5);
Tailwind
colors: {
  custom: {
    50: '#a39af9',
    500: '#7072f5',
    950: '#000000',
  },
}
SCSS
$custom: #7072f5;
$custom-light: #a39af9;
$custom-dark: #000000;
JSON
{
  "hex": "#7072f5",
  "rgb": {
    "r": 112,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 239.098,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.19157,
    "h": 278.5
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#7072F5
secondary
#F3F2CE
accent
#E002E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7072F5

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

Preview Lab → · Contrast checker → · Palette generator →

#7072F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva