#7D7AFA#7D7AFA

#7D7AFA is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.5% C 0.185 H 280.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7D7AFA
RGBrgb(125, 122, 250)
HSLhsl(241, 93%, 73%)
HSVhsv(241, 51%, 98%)
CMYKcmyk(50%, 51.2%, 0%, 2%)
CIE-LABlab(57.25, 34.50, -63.85)
CIE-LCHlch(57.25, 72.58, 298.39°)
OKLaboklab(64.52% 0.0351 -0.1821)
OKLCHoklch(64.52% 0.185 280.9)
XYZxyz(32.6670, 25.1793, 93.5627)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7AFA #F7FA7A
analogous
#7AB7FA #7D7AFA #BD7AFA
triadic
#7D7AFA #FA7D7A #7AFA7D
tetradic
#7D7AFA #FA7AB7 #F7FA7A #7AFABD
square
#7D7AFA #FA7AB7 #F7FA7A #7AFABD
split-complementary
#7D7AFA #FABD7A #B7FA7A
monochromatic
#0E09F1 #433FF8 #7D7AFA #B7B5FC #E2E2FE

Accessibility & contrast

On white

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

On black

6.04
#7D7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7AFA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7AFA#FFFFFF#000000##000000
##7D7AFA1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#2C85F7
Tritanopia (blue-blind)
#4C96AF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7d7afa;
/* rgb */ color: rgb(125, 122, 250);
/* oklch */ color: oklch(64.5% 0.185 280.9);
Tailwind
colors: {
  custom: {
    50: '#aaa0fd',
    500: '#7d7afa',
    950: '#000000',
  },
}
SCSS
$custom: #7d7afa;
$custom-light: #aaa0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7afa",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 241.406,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6452,
    "c": 0.18549,
    "h": 280.9
  },
  "luminance": 0.25181
}

Semantic roles & 50–950 ramp

primary
#7D7AFA
secondary
#F5F6D5
accent
#E600E0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7D7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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