#7F7ABE#7F7ABE

#7F7ABE is a mid, moderate blue. Relative luminance 0.221; OKLCH L 61.2% C 0.102 H 286.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7F7ABE
RGBrgb(127, 122, 190)
HSLhsl(244, 34%, 61%)
HSVhsv(244, 36%, 75%)
CMYKcmyk(33.2%, 35.8%, 0%, 25.5%)
CIE-LABlab(54.18, 17.86, -34.99)
CIE-LCHlch(54.18, 39.28, 297.04°)
OKLaboklab(61.19% 0.0287 -0.0977)
OKLCHoklch(61.19% 0.102 286.3)
XYZxyz(25.0037, 22.1481, 51.6629)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7ABE #B9BE7A
analogous
#7A97BE #7F7ABE #A17ABE
triadic
#7F7ABE #BE7F7A #7ABE7F
tetradic
#7F7ABE #BE7A97 #B9BE7A #7ABEA1
square
#7F7ABE #BE7A97 #B9BE7A #7ABEA1
split-complementary
#7F7ABE #BEA17A #97BE7A
monochromatic
#433E7F #5952A8 #7F7ABE #A7A3D2 #CECCE6

Accessibility & contrast

On white

3.87
#7F7ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7F7ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7ABE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7ABE#FFFFFF#000000##000000
##7F7ABE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C1
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#6F8793
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f7abe;
/* rgb */ color: rgb(127, 122, 190);
/* oklch */ color: oklch(61.2% 0.102 286.3);
Tailwind
colors: {
  custom: {
    50: '#a6a0d2',
    500: '#7f7abe',
    950: '#000000',
  },
}
SCSS
$custom: #7f7abe;
$custom-light: #a6a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7abe",
  "rgb": {
    "r": 127,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 244.412,
    "s": 34.343,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.10183,
    "h": 286.3
  },
  "luminance": 0.22149
}

Semantic roles & 50–950 ramp

primary
#7F7ABE
secondary
#D5D7BD
accent
#AD38A5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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