#7F73EA#7F73EA

#7F73EA is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.4% C 0.173 H 284.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7F73EA
RGBrgb(127, 115, 234)
HSLhsl(246, 74%, 68%)
HSVhsv(246, 51%, 92%)
CMYKcmyk(45.7%, 50.9%, 0%, 8.2%)
CIE-LABlab(54.78, 34.34, -58.93)
CIE-LCHlch(54.78, 68.20, 300.23°)
OKLaboklab(62.4% 0.0442 -0.1677)
OKLCHoklch(62.4% 0.173 284.8)
XYZxyz(29.7301, 22.7127, 80.6434)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F73EA #DEEA73
analogous
#73A2EA #7F73EA #BA73EA
triadic
#7F73EA #EA7F73 #73EA7F
tetradic
#7F73EA #EA73A2 #DEEA73 #73EABA
square
#7F73EA #EA73A2 #DEEA73 #73EABA
split-complementary
#7F73EA #EABA73 #A2EA73
monochromatic
#2E1EC5 #4E3EE2 #7F73EA #B0A8F2 #E0DDFA

Accessibility & contrast

On white

3.79
#7F73EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7F73EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F73EA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F73EA#FFFFFF#000000##000000
##7F73EA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#377FE7
Tritanopia (blue-blind)
#5C8DA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f73ea;
/* rgb */ color: rgb(127, 115, 234);
/* oklch */ color: oklch(62.4% 0.173 284.8);
Tailwind
colors: {
  custom: {
    50: '#aa9bf1',
    500: '#7f73ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f73ea;
$custom-light: #aa9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f73ea",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 246.05,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62395,
    "c": 0.17339,
    "h": 284.8
  },
  "luminance": 0.22714
}

Semantic roles & 50–950 ramp

primary
#7F73EA
secondary
#EBEECA
accent
#D60FC2
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7F73EA

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

Preview Lab → · Contrast checker → · Palette generator →

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