#7B66F0#7B66F0

#7B66F0 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 60.3% C 0.199 H 285.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7B66F0
RGBrgb(123, 102, 240)
HSLhsl(249, 82%, 67%)
HSVhsv(249, 58%, 94%)
CMYKcmyk(48.7%, 57.5%, 0%, 5.9%)
CIE-LABlab(51.84, 42.80, -67.02)
CIE-LCHlch(51.84, 79.52, 302.56°)
OKLaboklab(60.26% 0.0539 -0.1916)
OKLCHoklch(60.26% 0.199 285.7)
XYZxyz(28.6433, 20.0036, 84.7730)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B66F0 #DBF066
analogous
#6696F0 #7B66F0 #C066F0
triadic
#7B66F0 #F07B66 #66F07B
tetradic
#7B66F0 #F06696 #DBF066 #66F0C0
square
#7B66F0 #F06696 #DBF066 #66F0C0
split-complementary
#7B66F0 #F0C066 #96F066
monochromatic
#2F14C8 #4B2EEB #7B66F0 #AB9EF5 #DBD5FB

Accessibility & contrast

On white

4.20
#7B66F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7B66F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B66F0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B66F0#FFFFFF#000000##000000
##7B66F01.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#5186A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b66f0;
/* rgb */ color: rgb(123, 102, 240);
/* oklch */ color: oklch(60.3% 0.199 285.7);
Tailwind
colors: {
  custom: {
    50: '#a992f6',
    500: '#7b66f0',
    950: '#000000',
  },
}
SCSS
$custom: #7b66f0;
$custom-light: #a992f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b66f0",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 249.13,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.19907,
    "h": 285.7
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#7B66F0
secondary
#E8EFC3
accent
#DF07BE
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B66F0

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

Preview Lab → · Contrast checker → · Palette generator →

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