#7B66FB#7B66FB

#7B66FB is a mid, highly saturated blue. Relative luminance 0.207; OKLCH L 61.0% C 0.213 H 284.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7B66FB
RGBrgb(123, 102, 251)
HSLhsl(248, 95%, 69%)
HSVhsv(248, 59%, 98%)
CMYKcmyk(51%, 59.4%, 0%, 1.6%)
CIE-LABlab(52.59, 46.00, -71.93)
CIE-LCHlch(52.59, 85.38, 302.60°)
OKLaboklab(61.05% 0.0536 -0.2061)
OKLCHoklch(61.05% 0.213 284.6)
XYZxyz(30.3271, 20.6771, 93.6412)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66FB #E6FB66
analogous
#669CFB #7B66FB #C566FB
triadic
#7B66FB #FB7B66 #66FB7B
tetradic
#7B66FB #FB669C #E6FB66 #66FBC5
square
#7B66FB #FB669C #E6FB66 #66FBC5
split-complementary
#7B66FB #FBC566 #9CFB66
monochromatic
#2506E1 #482AF9 #7B66FB #AEA2FD #E2DDFE

Accessibility & contrast

On white

4.09
#7B66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7B66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66FB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66FB#FFFFFF#000000##000000
##7B66FB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0079F8
Tritanopia (blue-blind)
#4989A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b66fb;
/* rgb */ color: rgb(123, 102, 251);
/* oklch */ color: oklch(61.0% 0.213 284.6);
Tailwind
colors: {
  custom: {
    50: '#aa92fe',
    500: '#7b66fb',
    950: '#000000',
  },
}
SCSS
$custom: #7b66fb;
$custom-light: #aa92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66fb",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 248.456,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.21292,
    "h": 284.6
  },
  "luminance": 0.20679
}

Semantic roles & 50–950 ramp

primary
#7B66FB
secondary
#EEF4C9
accent
#E600C5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7B66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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