#7B74DC#7B74DC

#7B74DC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.4% C 0.153 H 284.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B74DC
RGBrgb(123, 116, 220)
HSLhsl(244, 60%, 66%)
HSVhsv(244, 47%, 86%)
CMYKcmyk(44.1%, 47.3%, 0%, 13.7%)
CIE-LABlab(53.89, 28.78, -52.51)
CIE-LCHlch(53.89, 59.88, 298.72°)
OKLaboklab(61.39% 0.037 -0.1489)
OKLCHoklch(61.39% 0.153 284)
XYZxyz(27.3283, 21.8679, 70.4772)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74DC #D5DC74
analogous
#74A1DC #7B74DC #AF74DC
triadic
#7B74DC #DC7B74 #74DC7B
tetradic
#7B74DC #DC74A1 #D5DC74 #74DCAF
square
#7B74DC #DC74A1 #D5DC74 #74DCAF
split-complementary
#7B74DC #DCAF74 #A1DC74
monochromatic
#342BAB #4D43D0 #7B74DC #A9A5E8 #D8D6F5

Accessibility & contrast

On white

3.91
#7B74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7B74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74DC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74DC#FFFFFF#000000##000000
##7B74DC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#457EDA
Tritanopia (blue-blind)
#5C8A9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b74dc;
/* rgb */ color: rgb(123, 116, 220);
/* oklch */ color: oklch(61.4% 0.153 284.0);
Tailwind
colors: {
  custom: {
    50: '#a69ce7',
    500: '#7b74dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b74dc;
$custom-light: #a69ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74dc",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 244.038,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.15345,
    "h": 284
  },
  "luminance": 0.21869
}

Semantic roles & 50–950 ramp

primary
#7B74DC
secondary
#E5E7C5
accent
#C71EBC
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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