#7B66DD#7B66DD

#7B66DD is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.0% C 0.175 H 287.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B66DD
RGBrgb(123, 102, 221)
HSLhsl(251, 64%, 63%)
HSVhsv(251, 54%, 87%)
CMYKcmyk(44.3%, 53.8%, 0%, 13.3%)
CIE-LABlab(50.61, 37.33, -58.33)
CIE-LCHlch(50.61, 69.25, 302.62°)
OKLaboklab(58.95% 0.0538 -0.1661)
OKLCHoklch(58.95% 0.175 287.9)
XYZxyz(25.9672, 18.9332, 70.6789)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66DD #C8DD66
analogous
#668CDD #7B66DD #B666DD
triadic
#7B66DD #DD7B66 #66DD7B
tetradic
#7B66DD #DD668C #C8DD66 #66DDB6
square
#7B66DD #DD668C #C8DD66 #66DDB6
split-complementary
#7B66DD #DDB666 #8CDD66
monochromatic
#3B24A4 #5034D2 #7B66DD #A698E8 #D1CAF3

Accessibility & contrast

On white

4.39
#7B66DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7B66DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66DD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66DD#FFFFFF#000000##000000
##7B66DD1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE1
Deuteranopia (green-blind)
#2975DA
Tritanopia (blue-blind)
#5D8098
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b66dd;
/* rgb */ color: rgb(123, 102, 221);
/* oklch */ color: oklch(59.0% 0.175 287.9);
Tailwind
colors: {
  custom: {
    50: '#a792e8',
    500: '#7b66dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b66dd;
$custom-light: #a792e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66dd",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 250.588,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.17455,
    "h": 287.9
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#7B66DD
secondary
#DDE5BA
accent
#CB1AAC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7B66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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