#7B74DD#7B74DD

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

Color values

HEX#7B74DD
RGBrgb(123, 116, 221)
HSLhsl(244, 61%, 66%)
HSVhsv(244, 48%, 87%)
CMYKcmyk(44.3%, 47.5%, 0%, 13.3%)
CIE-LABlab(53.94, 29.07, -52.98)
CIE-LCHlch(53.94, 60.43, 298.75°)
OKLaboklab(61.45% 0.0371 -0.1503)
OKLCHoklch(61.45% 0.155 283.9)
XYZxyz(27.4611, 21.9210, 71.1768)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74DD #D6DD74
analogous
#74A1DD #7B74DD #AF74DD
triadic
#7B74DD #DD7B74 #74DD7B
tetradic
#7B74DD #DD74A1 #D6DD74 #74DDAF
square
#7B74DD #DD74A1 #D6DD74 #74DDAF
split-complementary
#7B74DD #DDAF74 #A1DD74
monochromatic
#332AAC #4C43D1 #7B74DD #AAA5E9 #D8D6F5

Accessibility & contrast

On white

3.90
#7B74DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7B74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74DD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74DD#FFFFFF#000000##000000
##7B74DD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E1
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#5C8A9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b74dd;
/* rgb */ color: rgb(123, 116, 221);
/* oklch */ color: oklch(61.4% 0.155 283.9);
Tailwind
colors: {
  custom: {
    50: '#a69ce8',
    500: '#7b74dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b74dd;
$custom-light: #a69ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74dd",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 244,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.15483,
    "h": 283.9
  },
  "luminance": 0.21922
}

Semantic roles & 50–950 ramp

primary
#7B74DD
secondary
#E5E8C5
accent
#C81DBD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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