#7B72EA#7B72EA

#7B72EA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.9% C 0.175 H 283.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7B72EA
RGBrgb(123, 114, 234)
HSLhsl(245, 74%, 68%)
HSVhsv(245, 51%, 92%)
CMYKcmyk(47.4%, 51.3%, 0%, 8.2%)
CIE-LABlab(54.22, 34.05, -59.83)
CIE-LCHlch(54.22, 68.84, 299.64°)
OKLaboklab(61.9% 0.0406 -0.1704)
OKLCHoklch(61.9% 0.175 283.4)
XYZxyz(29.0325, 22.1847, 80.5782)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B72EA #E1EA72
analogous
#72A5EA #7B72EA #B772EA
triadic
#7B72EA #EA7B72 #72EA7B
tetradic
#7B72EA #EA72A5 #E1EA72 #72EAB7
square
#7B72EA #EA72A5 #E1EA72 #72EAB7
split-complementary
#7B72EA #EAB772 #A5EA72
monochromatic
#2A1DC4 #493DE2 #7B72EA #ADA7F2 #DFDDFA

Accessibility & contrast

On white

3.86
#7B72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7B72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B72EA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B72EA#FFFFFF#000000##000000
##7B72EA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EE
Deuteranopia (green-blind)
#307EE7
Tritanopia (blue-blind)
#548CA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b72ea;
/* rgb */ color: rgb(123, 114, 234);
/* oklch */ color: oklch(61.9% 0.175 283.4);
Tailwind
colors: {
  custom: {
    50: '#a89af1',
    500: '#7b72ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b72ea;
$custom-light: #a89af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b72ea",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 244.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61903,
    "c": 0.1752,
    "h": 283.4
  },
  "luminance": 0.22186
}

Semantic roles & 50–950 ramp

primary
#7B72EA
secondary
#EBEECA
accent
#D60FC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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