#7A74EA#7A74EA

#7A74EA is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.2% C 0.173 H 282.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7A74EA
RGBrgb(122, 116, 234)
HSLhsl(243, 74%, 69%)
HSVhsv(243, 50%, 92%)
CMYKcmyk(47.9%, 50.4%, 0%, 8.2%)
CIE-LABlab(54.62, 32.65, -59.19)
CIE-LCHlch(54.62, 67.60, 298.88°)
OKLaboklab(62.19% 0.0372 -0.1686)
OKLCHoklch(62.19% 0.173 282.4)
XYZxyz(29.1183, 22.5674, 80.6476)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A74EA #E4EA74
analogous
#74A9EA #7A74EA #B574EA
triadic
#7A74EA #EA7A74 #74EA7A
tetradic
#7A74EA #EA74A9 #E4EA74 #74EAB5
square
#7A74EA #EA74A9 #E4EA74 #74EAB5
split-complementary
#7A74EA #EAB574 #A9EA74
monochromatic
#261EC6 #473FE2 #7A74EA #ADA9F2 #E0DEFA

Accessibility & contrast

On white

3.81
#7A74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7A74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A74EA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A74EA#FFFFFF#000000##000000
##7A74EA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#347FE7
Tritanopia (blue-blind)
#528EA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a74ea;
/* rgb */ color: rgb(122, 116, 234);
/* oklch */ color: oklch(62.2% 0.173 282.4);
Tailwind
colors: {
  custom: {
    50: '#a79cf1',
    500: '#7a74ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a74ea;
$custom-light: #a79cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a74ea",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 243.051,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62185,
    "c": 0.17261,
    "h": 282.4
  },
  "luminance": 0.22569
}

Semantic roles & 50–950 ramp

primary
#7A74EA
secondary
#EDEFCB
accent
#D610CC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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