#7A74FB#7A74FB

#7A74FB is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.3% C 0.195 H 281.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7A74FB
RGBrgb(122, 116, 251)
HSLhsl(243, 94%, 72%)
HSVhsv(243, 54%, 98%)
CMYKcmyk(51.4%, 53.8%, 0%, 1.6%)
CIE-LABlab(55.68, 37.72, -66.95)
CIE-LCHlch(55.68, 76.84, 299.40°)
OKLaboklab(63.31% 0.0381 -0.1914)
OKLCHoklch(63.31% 0.195 281.3)
XYZxyz(31.6787, 23.5916, 94.1325)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A74FB #F5FB74
analogous
#74B1FB #7A74FB #BE74FB
triadic
#7A74FB #FB7A74 #74FB7A
tetradic
#7A74FB #FB74B1 #F5FB74 #74FBBE
square
#7A74FB #FB74B1 #F5FB74 #74FBBE
split-complementary
#7A74FB #FBBE74 #B1FB74
monochromatic
#1107EE #4139F9 #7A74FB #B3AFFD #E3E1FE

Accessibility & contrast

On white

3.67
#7A74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7A74FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A74FB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A74FB#FFFFFF#000000##000000
##7A74FB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#228AFF
Deuteranopia (green-blind)
#0681F8
Tritanopia (blue-blind)
#4493AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a74fb;
/* rgb */ color: rgb(122, 116, 251);
/* oklch */ color: oklch(63.3% 0.195 281.3);
Tailwind
colors: {
  custom: {
    50: '#a99cfd',
    500: '#7a74fb',
    950: '#000000',
  },
}
SCSS
$custom: #7a74fb;
$custom-light: #a99cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a74fb",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 242.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.63309,
    "c": 0.19511,
    "h": 281.3
  },
  "luminance": 0.23593
}

Semantic roles & 50–950 ramp

primary
#7A74FB
secondary
#F5F6D4
accent
#E600DB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7A74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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