#7B66FA#7B66FA

#7B66FA is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 61.0% C 0.212 H 284.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7B66FA
RGBrgb(123, 102, 250)
HSLhsl(249, 94%, 69%)
HSVhsv(249, 59%, 98%)
CMYKcmyk(50.8%, 59.2%, 0%, 2%)
CIE-LABlab(52.52, 45.71, -71.49)
CIE-LCHlch(52.52, 84.85, 302.60°)
OKLaboklab(60.98% 0.0537 -0.2048)
OKLCHoklch(60.98% 0.212 284.7)
XYZxyz(30.1699, 20.6142, 92.8132)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66FA #E5FA66
analogous
#669BFA #7B66FA #C566FA
triadic
#7B66FA #FA7B66 #66FA7B
tetradic
#7B66FA #FA669B #E5FA66 #66FAC5
square
#7B66FA #FA669B #E5FA66 #66FAC5
split-complementary
#7B66FA #FAC566 #9BFA66
monochromatic
#2607DE #482BF8 #7B66FA #AEA1FC #E1DDFE

Accessibility & contrast

On white

4.10
#7B66FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7B66FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66FA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66FA#FFFFFF#000000##000000
##7B66FA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0079F7
Tritanopia (blue-blind)
#4A89A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b66fa;
/* rgb */ color: rgb(123, 102, 250);
/* oklch */ color: oklch(61.0% 0.212 284.7);
Tailwind
colors: {
  custom: {
    50: '#aa92fd',
    500: '#7b66fa',
    950: '#000000',
  },
}
SCSS
$custom: #7b66fa;
$custom-light: #aa92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66fa",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 248.514,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60976,
    "c": 0.21167,
    "h": 284.7
  },
  "luminance": 0.20616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B66FA

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

Preview Lab → · Contrast checker → · Palette generator →

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