#7A74BC#7A74BC

#7A74BC is a mid, moderate blue. Relative luminance 0.203; OKLCH L 59.5% C 0.108 H 286.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7A74BC
RGBrgb(122, 116, 188)
HSLhsl(245, 35%, 60%)
HSVhsv(245, 38%, 74%)
CMYKcmyk(35.1%, 38.3%, 0%, 26.3%)
CIE-LABlab(52.13, 19.48, -37.09)
CIE-LCHlch(52.13, 41.89, 297.70°)
OKLaboklab(59.49% 0.0306 -0.1039)
OKLCHoklch(59.49% 0.108 286.4)
XYZxyz(23.3461, 20.2585, 50.2474)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A74BC #B6BC74
analogous
#7492BC #7A74BC #9E74BC
triadic
#7A74BC #BC7A74 #74BC7A
tetradic
#7A74BC #BC7492 #B6BC74 #74BC9E
square
#7A74BC #BC7492 #B6BC74 #74BC9E
split-complementary
#7A74BC #BC9E74 #92BC74
monochromatic
#403B7B #564FA4 #7A74BC #A29DD0 #C9C7E4

Accessibility & contrast

On white

4.16
#7A74BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7A74BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A74BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A74BC#FFFFFF#000000##000000
##7A74BC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#69828F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7a74bc;
/* rgb */ color: rgb(122, 116, 188);
/* oklch */ color: oklch(59.5% 0.108 286.4);
Tailwind
colors: {
  custom: {
    50: '#a39cd0',
    500: '#7a74bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a74bc;
$custom-light: #a39cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a74bc",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 245,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.10835,
    "h": 286.4
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#7A74BC
secondary
#D2D4B8
accent
#CB5DC2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7A74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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