#7D7FF2#7D7FF2

#7D7FF2 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.9% C 0.168 H 279.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7D7FF2
RGBrgb(125, 127, 242)
HSLhsl(239, 82%, 72%)
HSVhsv(239, 48%, 95%)
CMYKcmyk(48.3%, 47.5%, 0%, 5.1%)
CIE-LABlab(57.99, 29.17, -58.24)
CIE-LCHlch(57.99, 65.14, 296.61°)
OKLaboklab(64.92% 0.0288 -0.1656)
OKLCHoklch(64.92% 0.168 279.9)
XYZxyz(32.0689, 25.9478, 87.3058)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7FF2 #F2F07D
analogous
#7DBAF2 #7D7FF2 #B57DF2
triadic
#7D7FF2 #F27D7F #7FF27D
tetradic
#7D7FF2 #F27DBA #F2F07D #7DF2B5
square
#7D7FF2 #F27DBA #F2F07D #7DF2B5
split-complementary
#7D7FF2 #F2B57D #BAF27D
monochromatic
#161ADE #4548EC #7D7FF2 #B5B6F8 #E3E4FC

Accessibility & contrast

On white

3.39
#7D7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7D7FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7FF2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7FF2#FFFFFF#000000##000000
##7D7FF21.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#5198AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d7ff2;
/* rgb */ color: rgb(125, 127, 242);
/* oklch */ color: oklch(64.9% 0.168 279.9);
Tailwind
colors: {
  custom: {
    50: '#a9a4f7',
    500: '#7d7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7d7ff2;
$custom-light: #a9a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7ff2",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 238.974,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64923,
    "c": 0.16811,
    "h": 279.9
  },
  "luminance": 0.2595
}

Semantic roles & 50–950 ramp

primary
#7D7FF2
secondary
#F4F4D7
accent
#DB07DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7D7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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