#7B6BF2#7B6BF2

#7B6BF2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.2% C 0.195 H 284.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7B6BF2
RGBrgb(123, 107, 242)
HSLhsl(247, 84%, 68%)
HSVhsv(247, 56%, 95%)
CMYKcmyk(49.2%, 55.8%, 0%, 5.1%)
CIE-LABlab(53.10, 40.50, -66.11)
CIE-LCHlch(53.10, 77.53, 301.49°)
OKLaboklab(61.23% 0.0486 -0.1889)
OKLCHoklch(61.23% 0.195 284.4)
XYZxyz(29.4483, 21.1357, 86.5151)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BF2 #E2F26B
analogous
#6B9EF2 #7B6BF2 #BE6BF2
triadic
#7B6BF2 #F27B6B #6BF27B
tetradic
#7B6BF2 #F26B9E #E2F26B #6BF2BE
square
#7B6BF2 #F26B9E #E2F26B #6BF2BE
split-complementary
#7B6BF2 #F2BE6B #9EF26B
monochromatic
#2912D0 #4933ED #7B6BF2 #ADA3F7 #DFDCFC

Accessibility & contrast

On white

4.02
#7B6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7B6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BF2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BF2#FFFFFF#000000##000000
##7B6BF21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A83F7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#4F8AA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b6bf2;
/* rgb */ color: rgb(123, 107, 242);
/* oklch */ color: oklch(61.2% 0.195 284.4);
Tailwind
colors: {
  custom: {
    50: '#a996f7',
    500: '#7b6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bf2;
$custom-light: #a996f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bf2",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 247.111,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.19507,
    "h": 284.4
  },
  "luminance": 0.21137
}

Semantic roles & 50–950 ramp

primary
#7B6BF2
secondary
#ECF1C8
accent
#E005C6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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