#7D66CA#7D66CA

#7D66CA is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.9% C 0.149 H 291.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D66CA
RGBrgb(125, 102, 202)
HSLhsl(254, 49%, 60%)
HSVhsv(254, 50%, 79%)
CMYKcmyk(38.1%, 49.5%, 0%, 20.8%)
CIE-LABlab(49.65, 32.47, -49.04)
CIE-LCHlch(49.65, 58.81, 303.51°)
OKLaboklab(57.91% 0.055 -0.1387)
OKLCHoklch(57.91% 0.149 291.6)
XYZxyz(23.8666, 18.1264, 58.1069)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66CA #B3CA66
analogous
#6681CA #7D66CA #AF66CA
triadic
#7D66CA #CA7D66 #66CA7D
tetradic
#7D66CA #CA6681 #B3CA66 #66CAAF
square
#7D66CA #CA6681 #B3CA66 #66CAAF
split-complementary
#7D66CA #CAAF66 #81CA66
monochromatic
#432F87 #5A3EB4 #7D66CA #A493DA #CAC1E9

Accessibility & contrast

On white

4.54
#7D66CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7D66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66CA#FFFFFF#000000##000000
##7D66CA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#697A8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d66ca;
/* rgb */ color: rgb(125, 102, 202);
/* oklch */ color: oklch(57.9% 0.149 291.6);
Tailwind
colors: {
  custom: {
    50: '#a692db',
    500: '#7d66ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d66ca;
$custom-light: #a692db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66ca",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 253.8,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.14925,
    "h": 291.6
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#7D66CA
secondary
#D0D9B2
accent
#D850B9
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7D66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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