#7E73DF#7E73DF

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

Color values

HEX#7E73DF
RGBrgb(126, 115, 223)
HSLhsl(246, 63%, 66%)
HSVhsv(246, 48%, 87%)
CMYKcmyk(43.5%, 48.4%, 0%, 12.5%)
CIE-LABlab(54.05, 30.94, -53.92)
CIE-LCHlch(54.05, 62.17, 299.85°)
OKLaboklab(61.63% 0.0421 -0.153)
OKLCHoklch(61.63% 0.159 285.4)
XYZxyz(28.0504, 22.0237, 72.5707)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E73DF #D4DF73
analogous
#739EDF #7E73DF #B473DF
triadic
#7E73DF #DF7E73 #73DF7E
tetradic
#7E73DF #DF739E #D4DF73 #73DFB4
square
#7E73DF #DF739E #D4DF73 #73DFB4
split-complementary
#7E73DF #DFB473 #9EDF73
monochromatic
#3628AF #5041D4 #7E73DF #ACA5EA #DAD7F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E73DF#FFFFFF#000000##000000
##7E73DF1.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)
#4684E3
Deuteranopia (green-blind)
#437EDD
Tritanopia (blue-blind)
#60899E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e73df;
/* rgb */ color: rgb(126, 115, 223);
/* oklch */ color: oklch(61.6% 0.159 285.4);
Tailwind
colors: {
  custom: {
    50: '#a89be9',
    500: '#7e73df',
    950: '#000000',
  },
}
SCSS
$custom: #7e73df;
$custom-light: #a89be9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e73df",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 246.111,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.15867,
    "h": 285.4
  },
  "luminance": 0.22025
}

Semantic roles & 50–950 ramp

primary
#7E73DF
secondary
#E5E9C5
accent
#CB1BB9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E73DF

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

Preview Lab → · Contrast checker → · Palette generator →

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