#7C7AF2#7C7AF2

#7C7AF2 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.9% C 0.175 H 281.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7C7AF2
RGBrgb(124, 122, 242)
HSLhsl(241, 82%, 71%)
HSVhsv(241, 50%, 95%)
CMYKcmyk(48.8%, 49.6%, 0%, 5.1%)
CIE-LABlab(56.70, 31.91, -60.31)
CIE-LCHlch(56.70, 68.23, 297.88°)
OKLaboklab(63.93% 0.0334 -0.1718)
OKLCHoklch(63.93% 0.175 281)
XYZxyz(31.2938, 24.6133, 87.0891)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7AF2 #F0F27A
analogous
#7AB4F2 #7C7AF2 #B87AF2
triadic
#7C7AF2 #F27C7A #7AF27C
tetradic
#7C7AF2 #F27AB4 #F0F27A #7AF2B8
square
#7C7AF2 #F27AB4 #F0F27A #7AF2B8
split-complementary
#7C7AF2 #F2B87A #B4F27A
monochromatic
#1916DC #4542ED #7C7AF2 #B3B2F7 #E4E3FC

Accessibility & contrast

On white

3.55
#7C7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7C7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7AF2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7AF2#FFFFFF#000000##000000
##7C7AF21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#3884EF
Tritanopia (blue-blind)
#5094AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c7af2;
/* rgb */ color: rgb(124, 122, 242);
/* oklch */ color: oklch(63.9% 0.175 281.0);
Tailwind
colors: {
  custom: {
    50: '#a9a0f7',
    500: '#7c7af2',
    950: '#000000',
  },
}
SCSS
$custom: #7c7af2;
$custom-light: #a9a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7af2",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 241,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63932,
    "c": 0.17498,
    "h": 281
  },
  "luminance": 0.24615
}

Semantic roles & 50–950 ramp

primary
#7C7AF2
secondary
#F3F3D4
accent
#DF07DB
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7C7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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