#7A74B0#7A74B0

#7A74B0 is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.9% C 0.091 H 287.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7A74B0
RGBrgb(122, 116, 176)
HSLhsl(246, 28%, 57%)
HSVhsv(246, 34%, 69%)
CMYKcmyk(30.7%, 34.1%, 0%, 31%)
CIE-LABlab(51.57, 16.25, -31.05)
CIE-LCHlch(51.57, 35.04, 297.62°)
OKLaboklab(58.87% 0.0278 -0.0864)
OKLCHoklch(58.87% 0.091 287.9)
XYZxyz(22.1059, 19.7624, 43.7157)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A74B0 #AAB074
analogous
#748CB0 #7A74B0 #9874B0
triadic
#7A74B0 #B07A74 #74B07A
tetradic
#7A74B0 #B0748C #AAB074 #74B098
square
#7A74B0 #B0748C #AAB074 #74B098
split-complementary
#7A74B0 #B09874 #8CB074
monochromatic
#423D6C #5A5493 #7A74B0 #9F9BC6 #C5C2DC

Accessibility & contrast

On white

4.24
#7A74B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7A74B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A74B0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A74B0#FFFFFF#000000##000000
##7A74B01.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637CB2
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#6D7F8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a74b0;
/* rgb */ color: rgb(122, 116, 176);
/* oklch */ color: oklch(58.9% 0.091 287.9);
Tailwind
colors: {
  custom: {
    50: '#a29cc8',
    500: '#7a74b0',
    950: '#000000',
  },
}
SCSS
$custom: #7a74b0;
$custom-light: #a29cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a74b0",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 176
  },
  "hsl": {
    "h": 246,
    "s": 27.523,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.09082,
    "h": 287.9
  },
  "luminance": 0.19763
}

Semantic roles & 50–950 ramp

primary
#7A74B0
secondary
#CACCB4
accent
#C464BA
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7A74B0

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

Preview Lab → · Contrast checker → · Palette generator →

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