#7B66FE#7B66FE

#7B66FE is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 61.3% C 0.217 H 284.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7B66FE
RGBrgb(123, 102, 254)
HSLhsl(248, 99%, 70%)
HSVhsv(248, 60%, 100%)
CMYKcmyk(51.6%, 59.8%, 0%, 0.4%)
CIE-LABlab(52.80, 46.87, -73.25)
CIE-LCHlch(52.80, 86.97, 302.62°)
OKLaboklab(61.27% 0.0535 -0.2099)
OKLCHoklch(61.27% 0.217 284.3)
XYZxyz(30.8037, 20.8678, 96.1515)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66FE #E9FE66
analogous
#669DFE #7B66FE #C766FE
triadic
#7B66FE #FE7B66 #66FE7B
tetradic
#7B66FE #FE669D #E9FE66 #66FEC7
square
#7B66FE #FE669D #E9FE66 #66FEC7
split-complementary
#7B66FE #FEC766 #9DFE66
monochromatic
#2102E8 #4729FE #7B66FE #AFA3FE #E4E0FF

Accessibility & contrast

On white

4.06
#7B66FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7B66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66FE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66FE#FFFFFF#000000##000000
##7B66FE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#468AA8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7b66fe;
/* rgb */ color: rgb(123, 102, 254);
/* oklch */ color: oklch(61.3% 0.217 284.3);
Tailwind
colors: {
  custom: {
    50: '#ab92ff',
    500: '#7b66fe',
    950: '#000000',
  },
}
SCSS
$custom: #7b66fe;
$custom-light: #ab92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66fe",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 248.289,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.21665,
    "h": 284.3
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#7B66FE
secondary
#EFF5CA
accent
#E600C6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7B66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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