#7D7AAA#7D7AAA

#7D7AAA is a mid, moderate blue. Relative luminance 0.212; OKLCH L 60.1% C 0.072 H 286.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7D7AAA
RGBrgb(125, 122, 170)
HSLhsl(244, 22%, 57%)
HSVhsv(244, 28%, 67%)
CMYKcmyk(26.5%, 28.2%, 0%, 33.3%)
CIE-LABlab(53.15, 12.04, -25.11)
CIE-LCHlch(53.15, 27.84, 295.62°)
OKLaboklab(60.07% 0.021 -0.0694)
OKLCHoklch(60.07% 0.072 286.9)
XYZxyz(22.6709, 21.1809, 40.9163)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7AAA #A7AA7A
analogous
#7A8FAA #7D7AAA #957AAA
triadic
#7D7AAA #AA7D7A #7AAA7D
tetradic
#7D7AAA #AA7A8F #A7AA7A #7AAA95
square
#7D7AAA #AA7A8F #A7AA7A #7AAA95
split-complementary
#7D7AAA #AA957A #8FAA7A
monochromatic
#444267 #5D5A8D #7D7AAA #A19FC2 #C6C5DA

Accessibility & contrast

On white

4.01
#7D7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7D7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7AAA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7AAA#FFFFFF#000000##000000
##7D7AAA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AC
Deuteranopia (green-blind)
#6C7EA9
Tritanopia (blue-blind)
#73828B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d7aaa;
/* rgb */ color: rgb(125, 122, 170);
/* oklch */ color: oklch(60.1% 0.072 286.9);
Tailwind
colors: {
  custom: {
    50: '#a3a0c3',
    500: '#7d7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7d7aaa;
$custom-light: #a3a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7aaa",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 243.75,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60065,
    "c": 0.07248,
    "h": 286.9
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#7D7AAA
secondary
#C8CAB6
accent
#BF69B9
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7D7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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