#7D66CB#7D66CB

#7D66CB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.151 H 291.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D66CB
RGBrgb(125, 102, 203)
HSLhsl(254, 49%, 60%)
HSVhsv(254, 50%, 80%)
CMYKcmyk(38.4%, 49.8%, 0%, 20.4%)
CIE-LABlab(49.71, 32.75, -49.52)
CIE-LCHlch(49.71, 59.37, 303.48°)
OKLaboklab(57.98% 0.0551 -0.1401)
OKLCHoklch(57.98% 0.151 291.5)
XYZxyz(23.9854, 18.1739, 58.7325)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66CB #B4CB66
analogous
#6682CB #7D66CB #AF66CB
triadic
#7D66CB #CB7D66 #66CB7D
tetradic
#7D66CB #CB6682 #B4CB66 #66CBAF
square
#7D66CB #CB6682 #B4CB66 #66CBAF
split-complementary
#7D66CB #CBAF66 #82CB66
monochromatic
#432E88 #593EB6 #7D66CB #A494DB #CBC1EA

Accessibility & contrast

On white

4.53
#7D66CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D66CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66CB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66CB#FFFFFF#000000##000000
##7D66CB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#697A8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d66cb;
/* rgb */ color: rgb(125, 102, 203);
/* oklch */ color: oklch(58.0% 0.151 291.5);
Tailwind
colors: {
  custom: {
    50: '#a692db',
    500: '#7d66cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d66cb;
$custom-light: #a692db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66cb",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 253.663,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.15059,
    "h": 291.5
  },
  "luminance": 0.18175
}

Semantic roles & 50–950 ramp

primary
#7D66CB
secondary
#D1DAB3
accent
#D94FB9
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7D66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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