#7B74CD#7B74CD

#7B74CD is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.133 H 285.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7B74CD
RGBrgb(123, 116, 205)
HSLhsl(245, 47%, 63%)
HSVhsv(245, 43%, 80%)
CMYKcmyk(40%, 43.4%, 0%, 19.6%)
CIE-LABlab(53.07, 24.48, -45.32)
CIE-LCHlch(53.07, 51.51, 298.37°)
OKLaboklab(60.5% 0.035 -0.1279)
OKLCHoklch(60.5% 0.133 285.3)
XYZxyz(25.4301, 21.1086, 60.4802)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74CD #C6CD74
analogous
#7499CD #7B74CD #A774CD
triadic
#7B74CD #CD7B74 #74CD7B
tetradic
#7B74CD #CD7499 #C6CD74 #74CDA7
square
#7B74CD #CD7499 #C6CD74 #74CDA7
split-complementary
#7B74CD #CDA774 #99CD74
monochromatic
#3C3592 #5047BD #7B74CD #A6A1DD #D0CEED

Accessibility & contrast

On white

4.02
#7B74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7B74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74CD#FFFFFF#000000##000000
##7B74CD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#648696
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b74cd;
/* rgb */ color: rgb(123, 116, 205);
/* oklch */ color: oklch(60.5% 0.133 285.3);
Tailwind
colors: {
  custom: {
    50: '#a59cdd',
    500: '#7b74cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b74cd;
$custom-light: #a59cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74cd",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 244.719,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.13257,
    "h": 285.3
  },
  "luminance": 0.2111
}

Semantic roles & 50–950 ramp

primary
#7B74CD
secondary
#DCDEBE
accent
#BA2BAF
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7B74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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