#7F7CF2#7F7CF2

#7F7CF2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.5% C 0.172 H 281.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7F7CF2
RGBrgb(127, 124, 242)
HSLhsl(242, 82%, 72%)
HSVhsv(242, 49%, 95%)
CMYKcmyk(47.5%, 48.8%, 0%, 5.1%)
CIE-LABlab(57.40, 31.38, -59.17)
CIE-LCHlch(57.40, 66.98, 297.94°)
OKLaboklab(64.52% 0.0345 -0.1683)
OKLCHoklch(64.52% 0.172 281.6)
XYZxyz(31.9822, 25.3365, 87.1924)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7CF2 #EFF27C
analogous
#7CB4F2 #7F7CF2 #BA7CF2
triadic
#7F7CF2 #F27F7C #7CF27F
tetradic
#7F7CF2 #F27CB4 #EFF27C #7CF2BA
square
#7F7CF2 #F27CB4 #EFF27C #7CF2BA
split-complementary
#7F7CF2 #F2BA7C #B4F27C
monochromatic
#1B16DE #4944EC #7F7CF2 #B5B4F8 #E4E3FC

Accessibility & contrast

On white

3.46
#7F7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7F7CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7CF2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7CF2#FFFFFF#000000##000000
##7F7CF21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#5695AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f7cf2;
/* rgb */ color: rgb(127, 124, 242);
/* oklch */ color: oklch(64.5% 0.172 281.6);
Tailwind
colors: {
  custom: {
    50: '#aba2f7',
    500: '#7f7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #7f7cf2;
$custom-light: #aba2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7cf2",
  "rgb": {
    "r": 127,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 241.525,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64518,
    "c": 0.17182,
    "h": 281.6
  },
  "luminance": 0.25338
}

Semantic roles & 50–950 ramp

primary
#7F7CF2
secondary
#F3F4D6
accent
#DE07D9
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7F7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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