#7A7DEC#7A7DEC

#7A7DEC is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.0% C 0.163 H 279.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7A7DEC
RGBrgb(122, 125, 236)
HSLhsl(238, 75%, 70%)
HSVhsv(238, 48%, 93%)
CMYKcmyk(48.3%, 47%, 0%, 7.5%)
CIE-LABlab(56.94, 27.91, -56.60)
CIE-LCHlch(56.94, 63.11, 296.25°)
OKLaboklab(63.97% 0.0271 -0.1609)
OKLCHoklch(63.97% 0.163 279.6)
XYZxyz(30.4953, 24.8593, 82.5321)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7DEC #ECE97A
analogous
#7AB6EC #7A7DEC #B07AEC
triadic
#7A7DEC #EC7A7D #7DEC7A
tetradic
#7A7DEC #EC7AB6 #ECE97A #7AECB0
square
#7A7DEC #EC7AB6 #ECE97A #7AECB0
split-complementary
#7A7DEC #ECB07A #B6EC7A
monochromatic
#1D22CE #4449E4 #7A7DEC #B0B1F4 #E4E5FB

Accessibility & contrast

On white

3.52
#7A7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#7A7DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7DEC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7DEC#FFFFFF#000000##000000
##7A7DEC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#4384EA
Tritanopia (blue-blind)
#4F95A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a7dec;
/* rgb */ color: rgb(122, 125, 236);
/* oklch */ color: oklch(64.0% 0.163 279.6);
Tailwind
colors: {
  custom: {
    50: '#a7a2f3',
    500: '#7a7dec',
    950: '#000000',
  },
}
SCSS
$custom: #7a7dec;
$custom-light: #a7a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7dec",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 238.421,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.16316,
    "h": 279.6
  },
  "luminance": 0.24861
}

Semantic roles & 50–950 ramp

primary
#7A7DEC
secondary
#F1F0D1
accent
#D20ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7A7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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