#7D66F8#7D66F8

#7D66F8 is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 61.0% C 0.209 H 285.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7D66F8
RGBrgb(125, 102, 248)
HSLhsl(249, 91%, 69%)
HSVhsv(249, 59%, 97%)
CMYKcmyk(49.6%, 58.9%, 0%, 2.7%)
CIE-LABlab(52.55, 45.51, -70.32)
CIE-LCHlch(52.55, 83.76, 302.91°)
OKLaboklab(60.99% 0.0562 -0.2013)
OKLCHoklch(60.99% 0.209 285.6)
XYZxyz(30.1471, 20.6385, 91.1839)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66F8 #E1F866
analogous
#6698F8 #7D66F8 #C666F8
triadic
#7D66F8 #F87D66 #66F87D
tetradic
#7D66F8 #F86698 #E1F866 #66F8C6
square
#7D66F8 #F86698 #E1F866 #66F8C6
split-complementary
#7D66F8 #F8C666 #98F866
monochromatic
#2B0ADA #4B2BF5 #7D66F8 #AFA1FB #E0DBFD

Accessibility & contrast

On white

4.10
#7D66F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7D66F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66F8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66F8#FFFFFF#000000##000000
##7D66F81.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#0079F5
Tritanopia (blue-blind)
#5088A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d66f8;
/* rgb */ color: rgb(125, 102, 248);
/* oklch */ color: oklch(61.0% 0.209 285.6);
Tailwind
colors: {
  custom: {
    50: '#ab92fb',
    500: '#7d66f8',
    950: '#000000',
  },
}
SCSS
$custom: #7d66f8;
$custom-light: #ab92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66f8",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 249.452,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.20899,
    "h": 285.6
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#7D66F8
secondary
#ECF3C7
accent
#E600C1
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7D66F8

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

Preview Lab → · Contrast checker → · Palette generator →

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