#7B74E7#7B74E7

#7B74E7 is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.1% C 0.168 H 283.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7B74E7
RGBrgb(123, 116, 231)
HSLhsl(244, 71%, 68%)
HSVhsv(244, 50%, 91%)
CMYKcmyk(46.8%, 49.8%, 0%, 9.4%)
CIE-LABlab(54.52, 31.99, -57.67)
CIE-LCHlch(54.52, 65.95, 299.01°)
OKLaboklab(62.07% 0.0381 -0.1641)
OKLCHoklch(62.07% 0.168 283.1)
XYZxyz(28.8333, 22.4699, 78.4037)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74E7 #E0E774
analogous
#74A6E7 #7B74E7 #B474E7
triadic
#7B74E7 #E77B74 #74E77B
tetradic
#7B74E7 #E774A6 #E0E774 #74E7B4
square
#7B74E7 #E774A6 #E0E774 #74E7B4
split-complementary
#7B74E7 #E7B474 #A6E774
monochromatic
#2B21C0 #4940DE #7B74E7 #ADA8F0 #DEDCF9

Accessibility & contrast

On white

3.82
#7B74E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7B74E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74E7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74E7#FFFFFF#000000##000000
##7B74E71.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#397FE4
Tritanopia (blue-blind)
#568DA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b74e7;
/* rgb */ color: rgb(123, 116, 231);
/* oklch */ color: oklch(62.1% 0.168 283.1);
Tailwind
colors: {
  custom: {
    50: '#a79cef',
    500: '#7b74e7',
    950: '#000000',
  },
}
SCSS
$custom: #7b74e7;
$custom-light: #a79cef;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74e7",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 243.652,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.16844,
    "h": 283.1
  },
  "luminance": 0.22471
}

Semantic roles & 50–950 ramp

primary
#7B74E7
secondary
#EBEDCA
accent
#D313C7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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