#7A74FE#7A74FE

#7A74FE is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.5% C 0.199 H 281.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7A74FE
RGBrgb(122, 116, 254)
HSLhsl(243, 99%, 73%)
HSVhsv(243, 54%, 100%)
CMYKcmyk(52%, 54.3%, 0%, 0.4%)
CIE-LABlab(55.87, 38.62, -68.29)
CIE-LCHlch(55.87, 78.46, 299.49°)
OKLaboklab(63.51% 0.0382 -0.1953)
OKLCHoklch(63.51% 0.199 281.1)
XYZxyz(32.1553, 23.7822, 96.6428)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A74FE #F8FE74
analogous
#74B3FE #7A74FE #BF74FE
triadic
#7A74FE #FE7A74 #74FE7A
tetradic
#7A74FE #FE74B3 #F8FE74 #74FEBF
square
#7A74FE #FE74B3 #F8FE74 #74FEBF
split-complementary
#7A74FE #FEBF74 #B3FE74
monochromatic
#0C02F6 #4037FE #7A74FE #B4B1FE #E2E1FF

Accessibility & contrast

On white

3.65
#7A74FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7A74FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A74FE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A74FE#FFFFFF#000000##000000
##7A74FE1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A8BFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#4293AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a74fe;
/* rgb */ color: rgb(122, 116, 254);
/* oklch */ color: oklch(63.5% 0.199 281.1);
Tailwind
colors: {
  custom: {
    50: '#a99cff',
    500: '#7a74fe',
    950: '#000000',
  },
}
SCSS
$custom: #7a74fe;
$custom-light: #a99cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a74fe",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 242.609,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.63513,
    "c": 0.19903,
    "h": 281.1
  },
  "luminance": 0.23784
}

Semantic roles & 50–950 ramp

primary
#7A74FE
secondary
#F6F7D4
accent
#E600DC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7A74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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