#7D66EB#7D66EB

#7D66EB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.1% C 0.193 H 287.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7D66EB
RGBrgb(125, 102, 235)
HSLhsl(250, 77%, 66%)
HSVhsv(250, 57%, 92%)
CMYKcmyk(46.8%, 56.6%, 0%, 7.8%)
CIE-LABlab(51.68, 41.77, -64.48)
CIE-LCHlch(51.68, 76.82, 302.93°)
OKLaboklab(60.07% 0.0565 -0.1841)
OKLCHoklch(60.07% 0.193 287.1)
XYZxyz(28.1999, 19.8597, 80.9286)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66EB #D4EB66
analogous
#6691EB #7D66EB #BF66EB
triadic
#7D66EB #EB7D66 #66EB7D
tetradic
#7D66EB #EB6691 #D4EB66 #66EBBF
square
#7D66EB #EB6691 #D4EB66 #66EBBF
split-complementary
#7D66EB #EBBF66 #91EB66
monochromatic
#3519BE #4F30E4 #7D66EB #AB9CF2 #D9D2F9

Accessibility & contrast

On white

4.22
#7D66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7D66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66EB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66EB#FFFFFF#000000##000000
##7D66EB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#037EEF
Deuteranopia (green-blind)
#0178E8
Tritanopia (blue-blind)
#59849F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d66eb;
/* rgb */ color: rgb(125, 102, 235);
/* oklch */ color: oklch(60.1% 0.193 287.1);
Tailwind
colors: {
  custom: {
    50: '#aa92f2',
    500: '#7d66eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d66eb;
$custom-light: #aa92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66eb",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 250.376,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.19255,
    "h": 287.1
  },
  "luminance": 0.19861
}

Semantic roles & 50–950 ramp

primary
#7D66EB
secondary
#E5ECC1
accent
#D90CB6
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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