#7F66FE#7F66FE

#7F66FE is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.6% C 0.216 H 285.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7F66FE
RGBrgb(127, 102, 254)
HSLhsl(250, 99%, 70%)
HSVhsv(250, 60%, 100%)
CMYKcmyk(50%, 59.8%, 0%, 0.4%)
CIE-LABlab(53.13, 47.61, -72.70)
CIE-LCHlch(53.13, 86.90, 303.22°)
OKLaboklab(61.59% 0.0584 -0.2082)
OKLCHoklch(61.59% 0.216 285.7)
XYZxyz(31.3878, 21.1690, 96.1788)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66FE #E5FE66
analogous
#6699FE #7F66FE #CB66FE
triadic
#7F66FE #FE7F66 #66FE7F
tetradic
#7F66FE #FE6699 #E5FE66 #66FECB
square
#7F66FE #FE6699 #E5FE66 #66FECB
split-complementary
#7F66FE #FECB66 #99FE66
monochromatic
#2702E8 #4C29FE #7F66FE #B2A3FE #E5E0FF

Accessibility & contrast

On white

4.01
#7F66FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7F66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66FE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66FE#FFFFFF#000000##000000
##7F66FE1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#4F8AA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f66fe;
/* rgb */ color: rgb(127, 102, 254);
/* oklch */ color: oklch(61.6% 0.216 285.7);
Tailwind
colors: {
  custom: {
    50: '#ad93ff',
    500: '#7f66fe',
    950: '#000000',
  },
}
SCSS
$custom: #7f66fe;
$custom-light: #ad93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66fe",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 249.868,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.21626,
    "h": 285.7
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#7F66FE
secondary
#EEF5CA
accent
#E600C0
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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