#7F7FF2#7F7FF2

#7F7FF2 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.168 H 280.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7F7FF2
RGBrgb(127, 127, 242)
HSLhsl(240, 82%, 72%)
HSVhsv(240, 48%, 95%)
CMYKcmyk(47.5%, 47.5%, 0%, 5.1%)
CIE-LABlab(58.13, 29.62, -58.00)
CIE-LCHlch(58.13, 65.12, 297.05°)
OKLaboklab(65.07% 0.0311 -0.1649)
OKLCHoklch(65.07% 0.168 280.7)
XYZxyz(32.3639, 26.0999, 87.3196)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7FF2 #F2F27F
analogous
#7FB9F2 #7F7FF2 #B97FF2
triadic
#7F7FF2 #F27F7F #7FF27F
tetradic
#7F7FF2 #F27FB9 #F2F27F #7FF2B9
square
#7F7FF2 #F27FB9 #F2F27F #7FF2B9
split-complementary
#7F7FF2 #F2B97F #B9F27F
monochromatic
#1717E0 #4747EC #7F7FF2 #B7B7F8 #E3E3FC

Accessibility & contrast

On white

3.38
#7F7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7F7FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7FF2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7FF2#FFFFFF#000000##000000
##7F7FF21.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#4488EF
Tritanopia (blue-blind)
#5598AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f7ff2;
/* rgb */ color: rgb(127, 127, 242);
/* oklch */ color: oklch(65.1% 0.168 280.7);
Tailwind
colors: {
  custom: {
    50: '#aaa4f7',
    500: '#7f7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7f7ff2;
$custom-light: #aaa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7ff2",
  "rgb": {
    "r": 127,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65068,
    "c": 0.16778,
    "h": 280.7
  },
  "luminance": 0.26102
}

Semantic roles & 50–950 ramp

primary
#7F7FF2
secondary
#F4F4D7
accent
#DE08DE
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7F7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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