#7B74CA#7B74CA

#7B74CA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.128 H 285.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7B74CA
RGBrgb(123, 116, 202)
HSLhsl(245, 45%, 62%)
HSVhsv(245, 43%, 79%)
CMYKcmyk(39.1%, 42.6%, 0%, 20.8%)
CIE-LABlab(52.91, 23.63, -43.86)
CIE-LCHlch(52.91, 49.82, 298.32°)
OKLaboklab(60.33% 0.0345 -0.1236)
OKLCHoklch(60.33% 0.128 285.6)
XYZxyz(25.0714, 20.9651, 58.5914)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74CA #C3CA74
analogous
#7498CA #7B74CA #A674CA
triadic
#7B74CA #CA7B74 #74CA7B
tetradic
#7B74CA #CA7498 #C3CA74 #74CAA6
square
#7B74CA #CA7498 #C3CA74 #74CAA6
split-complementary
#7B74CA #CAA674 #98CA74
monochromatic
#3D368E #5148B9 #7B74CA #A5A0DB #CFCDEC

Accessibility & contrast

On white

4.04
#7B74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7B74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74CA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74CA#FFFFFF#000000##000000
##7B74CA1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#658595
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7b74ca;
/* rgb */ color: rgb(123, 116, 202);
/* oklch */ color: oklch(60.3% 0.128 285.6);
Tailwind
colors: {
  custom: {
    50: '#a49cda',
    500: '#7b74ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b74ca;
$custom-light: #a49cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74ca",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 244.884,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.12833,
    "h": 285.6
  },
  "luminance": 0.20966
}

Semantic roles & 50–950 ramp

primary
#7B74CA
secondary
#DADDBD
accent
#B82EAD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7B74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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