#7B72E5#7B72E5

#7B72E5 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.6% C 0.169 H 283.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7B72E5
RGBrgb(123, 114, 229)
HSLhsl(245, 69%, 67%)
HSVhsv(245, 50%, 90%)
CMYKcmyk(46.3%, 50.2%, 0%, 10.2%)
CIE-LABlab(53.92, 32.58, -57.51)
CIE-LCHlch(53.92, 66.10, 299.53°)
OKLaboklab(61.58% 0.0403 -0.1636)
OKLCHoklch(61.58% 0.169 283.8)
XYZxyz(28.3244, 21.9014, 76.8485)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B72E5 #DCE572
analogous
#72A2E5 #7B72E5 #B572E5
triadic
#7B72E5 #E57B72 #72E57B
tetradic
#7B72E5 #E572A2 #DCE572 #72E5B5
square
#7B72E5 #E572A2 #DCE572 #72E5B5
split-complementary
#7B72E5 #E5B572 #A2E572
monochromatic
#2E22BA #4B3EDB #7B72E5 #ABA6EF #DCD9F8

Accessibility & contrast

On white

3.90
#7B72E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7B72E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B72E5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B72E5#FFFFFF#000000##000000
##7B72E51.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85E9
Deuteranopia (green-blind)
#387DE2
Tritanopia (blue-blind)
#578BA1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b72e5;
/* rgb */ color: rgb(123, 114, 229);
/* oklch */ color: oklch(61.6% 0.169 283.8);
Tailwind
colors: {
  custom: {
    50: '#a79aee',
    500: '#7b72e5',
    950: '#000000',
  },
}
SCSS
$custom: #7b72e5;
$custom-light: #a79aee;
$custom-dark: #000000;
JSON
{
  "hex": "#7b72e5",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 244.696,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61582,
    "c": 0.1685,
    "h": 283.8
  },
  "luminance": 0.21903
}

Semantic roles & 50–950 ramp

primary
#7B72E5
secondary
#E9ECC7
accent
#D115C2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B72E5

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

Preview Lab → · Contrast checker → · Palette generator →

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