#7A7CF5#7A7CF5

#7A7CF5 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.3% C 0.177 H 279.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7A7CF5
RGBrgb(122, 124, 245)
HSLhsl(239, 86%, 72%)
HSVhsv(239, 50%, 96%)
CMYKcmyk(50.2%, 49.4%, 0%, 3.9%)
CIE-LABlab(57.22, 31.20, -61.15)
CIE-LCHlch(57.22, 68.65, 297.03°)
OKLaboklab(64.34% 0.0291 -0.1743)
OKLCHoklch(64.34% 0.177 279.5)
XYZxyz(31.7100, 25.1436, 89.5508)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7CF5 #F5F37A
analogous
#7ABAF5 #7A7CF5 #B57AF5
triadic
#7A7CF5 #F57A7C #7CF57A
tetradic
#7A7CF5 #F57ABA #F5F37A #7AF5B5
square
#7A7CF5 #F57ABA #F5F37A #7AF5B5
split-complementary
#7A7CF5 #F5B57A #BAF57A
monochromatic
#1115E3 #4144F1 #7A7CF5 #B3B4F9 #E3E3FD

Accessibility & contrast

On white

3.48
#7A7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7A7CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7CF5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7CF5#FFFFFF#000000##000000
##7A7CF51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF9
Deuteranopia (green-blind)
#3685F2
Tritanopia (blue-blind)
#4896AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a7cf5;
/* rgb */ color: rgb(122, 124, 245);
/* oklch */ color: oklch(64.3% 0.177 279.5);
Tailwind
colors: {
  custom: {
    50: '#a8a1f9',
    500: '#7a7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7a7cf5;
$custom-light: #a8a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7cf5",
  "rgb": {
    "r": 122,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 239.024,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64343,
    "c": 0.17669,
    "h": 279.5
  },
  "luminance": 0.25145
}

Semantic roles & 50–950 ramp

primary
#7A7CF5
secondary
#F5F4D6
accent
#DF03E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7A7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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