#7B66EA#7B66EA

#7B66EA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.8% C 0.191 H 286.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7B66EA
RGBrgb(123, 102, 234)
HSLhsl(250, 76%, 66%)
HSVhsv(250, 56%, 92%)
CMYKcmyk(47.4%, 56.4%, 0%, 8.2%)
CIE-LABlab(51.44, 41.07, -64.31)
CIE-LCHlch(51.44, 76.30, 302.56°)
OKLaboklab(59.84% 0.054 -0.1836)
OKLCHoklch(59.84% 0.191 286.4)
XYZxyz(27.7667, 19.6530, 80.1563)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66EA #D5EA66
analogous
#6693EA #7B66EA #BD66EA
triadic
#7B66EA #EA7B66 #66EA7B
tetradic
#7B66EA #EA6693 #D5EA66 #66EABD
square
#7B66EA #EA6693 #D5EA66 #66EABD
split-complementary
#7B66EA #EABD66 #93EA66
monochromatic
#341ABC #4D30E3 #7B66EA #A99CF1 #D8D2F9

Accessibility & contrast

On white

4.26
#7B66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7B66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66EA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66EA#FFFFFF#000000##000000
##7B66EA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#057EEE
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#55849E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b66ea;
/* rgb */ color: rgb(123, 102, 234);
/* oklch */ color: oklch(59.8% 0.191 286.4);
Tailwind
colors: {
  custom: {
    50: '#a892f1',
    500: '#7b66ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b66ea;
$custom-light: #a892f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66ea",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 249.545,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.19142,
    "h": 286.4
  },
  "luminance": 0.19654
}

Semantic roles & 50–950 ramp

primary
#7B66EA
secondary
#E5ECC0
accent
#D80DB8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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