#7D7ABC#7D7ABC

#7D7ABC is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.9% C 0.099 H 285.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D7ABC
RGBrgb(125, 122, 188)
HSLhsl(243, 33%, 61%)
HSVhsv(243, 35%, 74%)
CMYKcmyk(33.5%, 35.1%, 0%, 26.3%)
CIE-LABlab(53.93, 16.75, -34.25)
CIE-LCHlch(53.93, 38.12, 296.06°)
OKLaboklab(60.93% 0.0259 -0.0956)
OKLCHoklch(60.93% 0.099 285.1)
XYZxyz(24.4916, 21.9092, 50.5057)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7ABC #B9BC7A
analogous
#7A98BC #7D7ABC #9E7ABC
triadic
#7D7ABC #BC7D7A #7ABC7D
tetradic
#7D7ABC #BC7A98 #B9BC7A #7ABC9E
square
#7D7ABC #BC7A98 #B9BC7A #7ABC9E
split-complementary
#7D7ABC #BC9E7A #98BC7A
monochromatic
#423F7D #5753A5 #7D7ABC #A5A3D1 #CDCBE5

Accessibility & contrast

On white

3.90
#7D7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7D7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7ABC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7ABC#FFFFFF#000000##000000
##7D7ABC1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#6D8692
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d7abc;
/* rgb */ color: rgb(125, 122, 188);
/* oklch */ color: oklch(60.9% 0.099 285.1);
Tailwind
colors: {
  custom: {
    50: '#a4a0d0',
    500: '#7d7abc',
    950: '#000000',
  },
}
SCSS
$custom: #7d7abc;
$custom-light: #a4a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7abc",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 242.727,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60926,
    "c": 0.09906,
    "h": 285.1
  },
  "luminance": 0.2191
}

Semantic roles & 50–950 ramp

primary
#7D7ABC
secondary
#D4D5BC
accent
#AC3AA7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7D7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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