#7B74EB#7B74EB

#7B74EB is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.3% C 0.174 H 282.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7B74EB
RGBrgb(123, 116, 235)
HSLhsl(244, 75%, 69%)
HSVhsv(244, 51%, 92%)
CMYKcmyk(47.7%, 50.6%, 0%, 7.8%)
CIE-LABlab(54.76, 33.16, -59.53)
CIE-LCHlch(54.76, 68.14, 299.12°)
OKLaboklab(62.33% 0.0384 -0.1695)
OKLCHoklch(62.33% 0.174 282.8)
XYZxyz(29.4047, 22.6984, 81.4130)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74EB #E4EB74
analogous
#74A9EB #7B74EB #B774EB
triadic
#7B74EB #EB7B74 #74EB7B
tetradic
#7B74EB #EB74A9 #E4EB74 #74EBB7
square
#7B74EB #EB74A9 #E4EB74 #74EBB7
split-complementary
#7B74EB #EBB774 #A9EB74
monochromatic
#271DC8 #483EE3 #7B74EB #AEAAF3 #E1DFFA

Accessibility & contrast

On white

3.79
#7B74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7B74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74EB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74EB#FFFFFF#000000##000000
##7B74EB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#337FE8
Tritanopia (blue-blind)
#538EA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b74eb;
/* rgb */ color: rgb(123, 116, 235);
/* oklch */ color: oklch(62.3% 0.174 282.8);
Tailwind
colors: {
  custom: {
    50: '#a89cf2',
    500: '#7b74eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b74eb;
$custom-light: #a89cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74eb",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 243.529,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62326,
    "c": 0.17382,
    "h": 282.8
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#7B74EB
secondary
#EDEFCC
accent
#D70FCB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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