#7B7AF2#7B7AF2

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

Color values

HEX#7B7AF2
RGBrgb(123, 122, 242)
HSLhsl(241, 82%, 71%)
HSVhsv(241, 50%, 95%)
CMYKcmyk(49.2%, 49.6%, 0%, 5.1%)
CIE-LABlab(56.62, 31.70, -60.43)
CIE-LCHlch(56.62, 68.24, 297.68°)
OKLaboklab(63.86% 0.0322 -0.1721)
OKLCHoklch(63.86% 0.175 280.6)
XYZxyz(31.1500, 24.5391, 87.0823)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7AF2 #F1F27A
analogous
#7AB5F2 #7B7AF2 #B77AF2
triadic
#7B7AF2 #F27B7A #7AF27B
tetradic
#7B7AF2 #F27AB5 #F1F27A #7AF2B7
square
#7B7AF2 #F27AB5 #F1F27A #7AF2B7
split-complementary
#7B7AF2 #F2B77A #B5F27A
monochromatic
#1716DC #4442ED #7B7AF2 #B2B2F7 #E3E3FC

Accessibility & contrast

On white

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

On black

5.91
#7B7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7AF2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7AF2#FFFFFF#000000##000000
##7B7AF21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#4D94AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b7af2;
/* rgb */ color: rgb(123, 122, 242);
/* oklch */ color: oklch(63.9% 0.175 280.6);
Tailwind
colors: {
  custom: {
    50: '#a8a0f7',
    500: '#7b7af2',
    950: '#000000',
  },
}
SCSS
$custom: #7b7af2;
$custom-light: #a8a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7af2",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 240.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63859,
    "c": 0.17514,
    "h": 280.6
  },
  "luminance": 0.24541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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