#7B74CE#7B74CE

#7B74CE is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.134 H 285.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7B74CE
RGBrgb(123, 116, 206)
HSLhsl(245, 48%, 63%)
HSVhsv(245, 44%, 81%)
CMYKcmyk(40.3%, 43.7%, 0%, 19.2%)
CIE-LABlab(53.12, 24.76, -45.81)
CIE-LCHlch(53.12, 52.07, 298.39°)
OKLaboklab(60.56% 0.0351 -0.1293)
OKLCHoklch(60.56% 0.134 285.2)
XYZxyz(25.5512, 21.1570, 61.1180)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74CE #C7CE74
analogous
#749ACE #7B74CE #A874CE
triadic
#7B74CE #CE7B74 #74CE7B
tetradic
#7B74CE #CE749A #C7CE74 #74CEA8
square
#7B74CE #CE749A #C7CE74 #74CEA8
split-complementary
#7B74CE #CEA874 #9ACE74
monochromatic
#3B3494 #5047BE #7B74CE #A6A1DE #D1CEEE

Accessibility & contrast

On white

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

On black

5.23
#7B74CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74CE#FFFFFF#000000##000000
##7B74CE1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#638697
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b74ce;
/* rgb */ color: rgb(123, 116, 206);
/* oklch */ color: oklch(60.6% 0.134 285.2);
Tailwind
colors: {
  custom: {
    50: '#a59cdd',
    500: '#7b74ce',
    950: '#000000',
  },
}
SCSS
$custom: #7b74ce;
$custom-light: #a59cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74ce",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 244.667,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.13398,
    "h": 285.2
  },
  "luminance": 0.21158
}

Semantic roles & 50–950 ramp

primary
#7B74CE
secondary
#DDDFBF
accent
#BB2AB0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7B74CE

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

Preview Lab → · Contrast checker → · Palette generator →

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