#7B74BC#7B74BC

#7B74BC is a mid, moderate blue. Relative luminance 0.203; OKLCH L 59.6% C 0.108 H 287.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7B74BC
RGBrgb(123, 116, 188)
HSLhsl(246, 35%, 60%)
HSVhsv(246, 38%, 74%)
CMYKcmyk(34.6%, 38.3%, 0%, 26.3%)
CIE-LABlab(52.21, 19.76, -36.96)
CIE-LCHlch(52.21, 41.91, 298.13°)
OKLaboklab(59.57% 0.0318 -0.1035)
OKLCHoklch(59.57% 0.108 287.1)
XYZxyz(23.4884, 20.3319, 50.2541)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74BC #B5BC74
analogous
#7491BC #7B74BC #9F74BC
triadic
#7B74BC #BC7B74 #74BC7B
tetradic
#7B74BC #BC7491 #B5BC74 #74BC9F
square
#7B74BC #BC7491 #B5BC74 #74BC9F
split-complementary
#7B74BC #BC9F74 #91BC74
monochromatic
#413B7B #574FA4 #7B74BC #A29DD0 #C9C7E4

Accessibility & contrast

On white

4.14
#7B74BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7B74BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74BC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74BC#FFFFFF#000000##000000
##7B74BC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBF
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#6A818F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b74bc;
/* rgb */ color: rgb(123, 116, 188);
/* oklch */ color: oklch(59.6% 0.108 287.1);
Tailwind
colors: {
  custom: {
    50: '#a39cd0',
    500: '#7b74bc',
    950: '#000000',
  },
}
SCSS
$custom: #7b74bc;
$custom-light: #a39cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74bc",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 245.833,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59569,
    "c": 0.10829,
    "h": 287.1
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#7B74BC
secondary
#D1D4B8
accent
#CB5DC0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7B74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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