#7D74EB#7D74EB

#7D74EB is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.5% C 0.174 H 283.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7D74EB
RGBrgb(125, 116, 235)
HSLhsl(245, 75%, 69%)
HSVhsv(245, 51%, 92%)
CMYKcmyk(46.8%, 50.6%, 0%, 7.8%)
CIE-LABlab(54.91, 33.60, -59.27)
CIE-LCHlch(54.91, 68.13, 299.55°)
OKLaboklab(62.48% 0.0408 -0.1687)
OKLCHoklch(62.48% 0.174 283.6)
XYZxyz(29.6938, 22.8475, 81.4266)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D74EB #E2EB74
analogous
#74A7EB #7D74EB #B974EB
triadic
#7D74EB #EB7D74 #74EB7D
tetradic
#7D74EB #EB74A7 #E2EB74 #74EBB9
square
#7D74EB #EB74A7 #E2EB74 #74EBB9
split-complementary
#7D74EB #EBB974 #A7EB74
monochromatic
#2A1DC8 #4B3EE3 #7D74EB #AFAAF3 #E1DFFA

Accessibility & contrast

On white

3.77
#7D74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7D74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D74EB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D74EB#FFFFFF#000000##000000
##7D74EB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#3680E8
Tritanopia (blue-blind)
#578EA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d74eb;
/* rgb */ color: rgb(125, 116, 235);
/* oklch */ color: oklch(62.5% 0.174 283.6);
Tailwind
colors: {
  custom: {
    50: '#a99cf2',
    500: '#7d74eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d74eb;
$custom-light: #a99cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d74eb",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 244.538,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6248,
    "c": 0.17356,
    "h": 283.6
  },
  "luminance": 0.22849
}

Semantic roles & 50–950 ramp

primary
#7D74EB
secondary
#ECEFCC
accent
#D70FC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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