#7B66CE#7B66CE

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

Color values

HEX#7B66CE
RGBrgb(123, 102, 206)
HSLhsl(252, 51%, 60%)
HSVhsv(252, 50%, 81%)
CMYKcmyk(40.3%, 50.5%, 0%, 19.2%)
CIE-LABlab(49.70, 33.09, -51.25)
CIE-LCHlch(49.70, 61.01, 302.85°)
OKLaboklab(57.98% 0.0529 -0.1453)
OKLCHoklch(57.98% 0.155 290)
XYZxyz(24.0573, 18.1692, 60.6200)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66CE #B9CE66
analogous
#6685CE #7B66CE #AF66CE
triadic
#7B66CE #CE7B66 #66CE7B
tetradic
#7B66CE #CE6685 #B9CE66 #66CEAF
square
#7B66CE #CE6685 #B9CE66 #66CEAF
split-complementary
#7B66CE #CEAF66 #85CE66
monochromatic
#402D8D #563CBB #7B66CE #A394DD #CBC3EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B66CE#FFFFFF#000000##000000
##7B66CE1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D2
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#647B90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b66ce;
/* rgb */ color: rgb(123, 102, 206);
/* oklch */ color: oklch(58.0% 0.155 290.0);
Tailwind
colors: {
  custom: {
    50: '#a592dd',
    500: '#7b66ce',
    950: '#000000',
  },
}
SCSS
$custom: #7b66ce;
$custom-light: #a592dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66ce",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 252.115,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.15462,
    "h": 290
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

primary
#7B66CE
secondary
#D4DCB4
accent
#BF27A0
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7B66CE

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

Preview Lab → · Contrast checker → · Palette generator →

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