#7B66CA#7B66CA

#7B66CA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.7% C 0.149 H 290.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B66CA
RGBrgb(123, 102, 202)
HSLhsl(253, 49%, 60%)
HSVhsv(253, 50%, 79%)
CMYKcmyk(39.1%, 49.5%, 0%, 20.8%)
CIE-LABlab(49.47, 31.97, -49.34)
CIE-LCHlch(49.47, 58.79, 302.94°)
OKLaboklab(57.74% 0.0526 -0.1397)
OKLCHoklch(57.74% 0.149 290.6)
XYZxyz(23.5775, 17.9773, 58.0934)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66CA #B5CA66
analogous
#6683CA #7B66CA #AD66CA
triadic
#7B66CA #CA7B66 #66CA7B
tetradic
#7B66CA #CA6683 #B5CA66 #66CAAD
square
#7B66CA #CA6683 #B5CA66 #66CAAD
split-complementary
#7B66CA #CAAD66 #83CA66
monochromatic
#412F87 #573EB4 #7B66CA #A293DA #C9C1E9

Accessibility & contrast

On white

4.57
#7B66CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66CA#FFFFFF#000000##000000
##7B66CA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F77CE
Deuteranopia (green-blind)
#4173C8
Tritanopia (blue-blind)
#667A8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b66ca;
/* rgb */ color: rgb(123, 102, 202);
/* oklch */ color: oklch(57.7% 0.149 290.6);
Tailwind
colors: {
  custom: {
    50: '#a592db',
    500: '#7b66ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b66ca;
$custom-light: #a592db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66ca",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 252.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.14922,
    "h": 290.6
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#7B66CA
secondary
#D1D9B2
accent
#D850BB
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7B66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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