#7E72FA#7E72FA

#7E72FA is a light, vivid blue. Relative luminance 0.234; OKLCH L 63.2% C 0.196 H 283.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7E72FA
RGBrgb(126, 114, 250)
HSLhsl(245, 93%, 71%)
HSVhsv(245, 54%, 98%)
CMYKcmyk(49.6%, 54.4%, 0%, 2%)
CIE-LABlab(55.45, 39.39, -66.74)
CIE-LCHlch(55.45, 77.50, 300.55°)
OKLaboklab(63.2% 0.0449 -0.1907)
OKLCHoklch(63.2% 0.196 283.2)
XYZxyz(31.8716, 23.3707, 93.2556)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72FA #EEFA72
analogous
#72AAFA #7E72FA #C272FA
triadic
#7E72FA #FA7E72 #72FA7E
tetradic
#7E72FA #FA72AA #EEFA72 #72FAC2
square
#7E72FA #FA72AA #EEFA72 #72FAC2
split-complementary
#7E72FA #FAC272 #AAFA72
monochromatic
#1C08E9 #4837F8 #7E72FA #B4ADFC #E4E1FE

Accessibility & contrast

On white

3.70
#7E72FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#7E72FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72FA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72FA#FFFFFF#000000##000000
##7E72FA1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E89FF
Deuteranopia (green-blind)
#0C80F7
Tritanopia (blue-blind)
#4F91AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e72fa;
/* rgb */ color: rgb(126, 114, 250);
/* oklch */ color: oklch(63.2% 0.196 283.2);
Tailwind
colors: {
  custom: {
    50: '#ab9bfd',
    500: '#7e72fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e72fa;
$custom-light: #ab9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72fa",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 245.294,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.19587,
    "h": 283.2
  },
  "luminance": 0.23372
}

Semantic roles & 50–950 ramp

primary
#7E72FA
secondary
#F2F6D2
accent
#E600D1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7E72FA

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

Preview Lab → · Contrast checker → · Palette generator →

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