#7B66F5#7B66F5

#7B66F5 is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.6% C 0.205 H 285.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7B66F5
RGBrgb(123, 102, 245)
HSLhsl(249, 88%, 68%)
HSVhsv(249, 58%, 96%)
CMYKcmyk(49.8%, 58.4%, 0%, 3.9%)
CIE-LABlab(52.18, 44.25, -69.26)
CIE-LCHlch(52.18, 82.19, 302.57°)
OKLaboklab(60.61% 0.0538 -0.1982)
OKLCHoklch(60.61% 0.205 285.2)
XYZxyz(29.3963, 20.3048, 88.7388)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66F5 #E0F566
analogous
#6698F5 #7B66F5 #C266F5
triadic
#7B66F5 #F57B66 #66F57B
tetradic
#7B66F5 #F56698 #E0F566 #66F5C2
square
#7B66F5 #F56698 #E0F566 #66F5C2
split-complementary
#7B66F5 #F5C266 #98F566
monochromatic
#2B0ED3 #492DF1 #7B66F5 #AD9FF9 #DED9FD

Accessibility & contrast

On white

4.15
#7B66F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7B66F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66F5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66F5#FFFFFF#000000##000000
##7B66F51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#4E87A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b66f5;
/* rgb */ color: rgb(123, 102, 245);
/* oklch */ color: oklch(60.6% 0.205 285.2);
Tailwind
colors: {
  custom: {
    50: '#aa92f9',
    500: '#7b66f5',
    950: '#000000',
  },
}
SCSS
$custom: #7b66f5;
$custom-light: #aa92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66f5",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 248.811,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60614,
    "c": 0.20541,
    "h": 285.2
  },
  "luminance": 0.20306
}

Semantic roles & 50–950 ramp

primary
#7B66F5
secondary
#EBF1C6
accent
#E401C3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B66F5

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

Preview Lab → · Contrast checker → · Palette generator →

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