#7E66CA#7E66CA

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

Color values

HEX#7E66CA
RGBrgb(126, 102, 202)
HSLhsl(254, 49%, 60%)
HSVhsv(254, 50%, 79%)
CMYKcmyk(37.6%, 49.5%, 0%, 20.8%)
CIE-LABlab(49.74, 32.73, -48.89)
CIE-LCHlch(49.74, 58.83, 303.80°)
OKLaboklab(58% 0.0563 -0.1383)
OKLCHoklch(58% 0.149 292.1)
XYZxyz(24.0134, 18.2020, 58.1138)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66CA #B2CA66
analogous
#6680CA #7E66CA #B066CA
triadic
#7E66CA #CA7E66 #66CA7E
tetradic
#7E66CA #CA6680 #B2CA66 #66CAB0
square
#7E66CA #CA6680 #B2CA66 #66CAB0
split-complementary
#7E66CA #CAB066 #80CA66
monochromatic
#442F87 #5B3EB4 #7E66CA #A493DA #CBC1E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E66CA#FFFFFF#000000##000000
##7E66CA1.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)
#4078CE
Deuteranopia (green-blind)
#4374C8
Tritanopia (blue-blind)
#6B7A8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e66ca;
/* rgb */ color: rgb(126, 102, 202);
/* oklch */ color: oklch(58.0% 0.149 292.1);
Tailwind
colors: {
  custom: {
    50: '#a792db',
    500: '#7e66ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e66ca;
$custom-light: #a792db;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66ca",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 254.4,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58004,
    "c": 0.14928,
    "h": 292.1
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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