#7B66EF#7B66EF

#7B66EF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 60.2% C 0.198 H 285.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7B66EF
RGBrgb(123, 102, 239)
HSLhsl(249, 81%, 67%)
HSVhsv(249, 57%, 94%)
CMYKcmyk(48.5%, 57.3%, 0%, 6.3%)
CIE-LABlab(51.77, 42.51, -66.57)
CIE-LCHlch(51.77, 78.99, 302.56°)
OKLaboklab(60.19% 0.0539 -0.1903)
OKLCHoklch(60.19% 0.198 285.8)
XYZxyz(28.4951, 19.9443, 83.9928)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66EF #DAEF66
analogous
#6696EF #7B66EF #C066EF
triadic
#7B66EF #EF7B66 #66EF7B
tetradic
#7B66EF #EF6696 #DAEF66 #66EFC0
square
#7B66EF #EF6696 #DAEF66 #66EFC0
split-complementary
#7B66EF #EFC066 #96EF66
monochromatic
#3015C6 #4B2FE9 #7B66EF #AB9DF5 #DBD5FB

Accessibility & contrast

On white

4.21
#7B66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7B66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66EF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66EF#FFFFFF#000000##000000
##7B66EF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#5285A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b66ef;
/* rgb */ color: rgb(123, 102, 239);
/* oklch */ color: oklch(60.2% 0.198 285.8);
Tailwind
colors: {
  custom: {
    50: '#a992f5',
    500: '#7b66ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b66ef;
$custom-light: #a992f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66ef",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 249.197,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60187,
    "c": 0.19781,
    "h": 285.8
  },
  "luminance": 0.19946
}

Semantic roles & 50–950 ramp

primary
#7B66EF
secondary
#E8EEC2
accent
#DD08BD
background
#FAF9FF
surface
#F5F1FE
border
#CFCBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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