#7B74BB#7B74BB

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

Color values

HEX#7B74BB
RGBrgb(123, 116, 187)
HSLhsl(246, 34%, 59%)
HSVhsv(246, 38%, 73%)
CMYKcmyk(34.2%, 38%, 0%, 26.7%)
CIE-LABlab(52.16, 19.49, -36.46)
CIE-LCHlch(52.16, 41.34, 298.12°)
OKLaboklab(59.52% 0.0316 -0.1021)
OKLCHoklch(59.52% 0.107 287.2)
XYZxyz(23.3810, 20.2890, 49.6883)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74BB #B4BB74
analogous
#7491BB #7B74BB #9F74BB
triadic
#7B74BB #BB7B74 #74BB7B
tetradic
#7B74BB #BB7491 #B4BB74 #74BB9F
square
#7B74BB #BB7491 #B4BB74 #74BB9F
split-complementary
#7B74BB #BB9F74 #91BB74
monochromatic
#413B79 #584FA2 #7B74BB #A29DCF #C9C6E3

Accessibility & contrast

On white

4.15
#7B74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7B74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74BB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74BB#FFFFFF#000000##000000
##7B74BB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#5D7BB9
Tritanopia (blue-blind)
#6B818F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b74bb;
/* rgb */ color: rgb(123, 116, 187);
/* oklch */ color: oklch(59.5% 0.107 287.2);
Tailwind
colors: {
  custom: {
    50: '#a39cd0',
    500: '#7b74bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b74bb;
$custom-light: #a39cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74bb",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 245.915,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59517,
    "c": 0.10684,
    "h": 287.2
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#7B74BB
secondary
#D1D3B8
accent
#CA5DC0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7B74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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