#7F72EA#7F72EA

#7F72EA is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.2% C 0.175 H 285.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7F72EA
RGBrgb(127, 114, 234)
HSLhsl(247, 74%, 68%)
HSVhsv(247, 51%, 92%)
CMYKcmyk(45.7%, 51.3%, 0%, 8.2%)
CIE-LABlab(54.54, 34.93, -59.31)
CIE-LCHlch(54.54, 68.83, 300.50°)
OKLaboklab(62.22% 0.0454 -0.1688)
OKLCHoklch(62.22% 0.175 285)
XYZxyz(29.6166, 22.4859, 80.6056)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72EA #DDEA72
analogous
#72A1EA #7F72EA #BB72EA
triadic
#7F72EA #EA7F72 #72EA7F
tetradic
#7F72EA #EA72A1 #DDEA72 #72EABB
square
#7F72EA #EA72A1 #DDEA72 #72EABB
split-complementary
#7F72EA #EABB72 #A1EA72
monochromatic
#2F1DC4 #4F3DE2 #7F72EA #AFA7F2 #E0DDFA

Accessibility & contrast

On white

3.82
#7F72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7F72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72EA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72EA#FFFFFF#000000##000000
##7F72EA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#357FE7
Tritanopia (blue-blind)
#5C8CA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f72ea;
/* rgb */ color: rgb(127, 114, 234);
/* oklch */ color: oklch(62.2% 0.175 285.0);
Tailwind
colors: {
  custom: {
    50: '#aa9bf1',
    500: '#7f72ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f72ea;
$custom-light: #aa9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72ea",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 246.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62218,
    "c": 0.17477,
    "h": 285
  },
  "luminance": 0.22487
}

Semantic roles & 50–950 ramp

primary
#7F72EA
secondary
#EAEECA
accent
#D60FC1
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7F72EA

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

Preview Lab → · Contrast checker → · Palette generator →

#7F72EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva