#7D66FB#7D66FB

#7D66FB is a mid, highly saturated blue. Relative luminance 0.208; OKLCH L 61.2% C 0.213 H 285.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7D66FB
RGBrgb(125, 102, 251)
HSLhsl(249, 95%, 69%)
HSVhsv(249, 59%, 98%)
CMYKcmyk(50.2%, 59.4%, 0%, 1.6%)
CIE-LABlab(52.76, 46.37, -71.65)
CIE-LCHlch(52.76, 85.35, 302.91°)
OKLaboklab(61.21% 0.0561 -0.2052)
OKLCHoklch(61.21% 0.213 285.3)
XYZxyz(30.6162, 20.8262, 93.6547)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66FB #E4FB66
analogous
#669AFB #7D66FB #C866FB
triadic
#7D66FB #FB7D66 #66FB7D
tetradic
#7D66FB #FB669A #E4FB66 #66FBC8
square
#7D66FB #FB669A #E4FB66 #66FBC8
split-complementary
#7D66FB #FBC866 #9AFB66
monochromatic
#2806E1 #4A2AF9 #7D66FB #B0A2FD #E2DDFE

Accessibility & contrast

On white

4.07
#7D66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7D66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66FB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66FB#FFFFFF#000000##000000
##7D66FB1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0079F8
Tritanopia (blue-blind)
#4D89A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7d66fb;
/* rgb */ color: rgb(125, 102, 251);
/* oklch */ color: oklch(61.2% 0.213 285.3);
Tailwind
colors: {
  custom: {
    50: '#ac92fe',
    500: '#7d66fb',
    950: '#000000',
  },
}
SCSS
$custom: #7d66fb;
$custom-light: #ac92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66fb",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 249.262,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.21273,
    "h": 285.3
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#7D66FB
secondary
#EDF4C9
accent
#E600C2
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7D66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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