#7B73E3#7B73E3

#7B73E3 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.6% C 0.164 H 283.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7B73E3
RGBrgb(123, 115, 227)
HSLhsl(244, 67%, 67%)
HSVhsv(244, 49%, 89%)
CMYKcmyk(45.8%, 49.3%, 0%, 11%)
CIE-LABlab(54.05, 31.41, -56.19)
CIE-LCHlch(54.05, 64.38, 299.20°)
OKLaboklab(61.64% 0.0389 -0.1597)
OKLCHoklch(61.64% 0.164 283.7)
XYZxyz(28.1601, 22.0172, 75.4241)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B73E3 #DBE373
analogous
#73A3E3 #7B73E3 #B373E3
triadic
#7B73E3 #E37B73 #73E37B
tetradic
#7B73E3 #E373A3 #DBE373 #73E3B3
square
#7B73E3 #E373A3 #DBE373 #73E3B3
split-complementary
#7B73E3 #E3B373 #A3E373
monochromatic
#2F25B7 #4B40D9 #7B73E3 #ABA6ED #DBD9F7

Accessibility & contrast

On white

3.89
#7B73E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7B73E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B73E3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B73E3#FFFFFF#000000##000000
##7B73E31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E7
Deuteranopia (green-blind)
#3C7EE1
Tritanopia (blue-blind)
#588BA0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b73e3;
/* rgb */ color: rgb(123, 115, 227);
/* oklch */ color: oklch(61.6% 0.164 283.7);
Tailwind
colors: {
  custom: {
    50: '#a79bec',
    500: '#7b73e3',
    950: '#000000',
  },
}
SCSS
$custom: #7b73e3;
$custom-light: #a79bec;
$custom-dark: #000000;
JSON
{
  "hex": "#7b73e3",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 227
  },
  "hsl": {
    "h": 244.286,
    "s": 66.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61636,
    "c": 0.16441,
    "h": 283.7
  },
  "luminance": 0.22018
}

Semantic roles & 50–950 ramp

primary
#7B73E3
secondary
#E8EBC7
accent
#CF17C1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B73E3

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

Preview Lab → · Contrast checker → · Palette generator →

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