#7B6CFA#7B6CFA

#7B6CFA is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 62.0% C 0.204 H 283.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B6CFA
RGBrgb(123, 108, 250)
HSLhsl(246, 93%, 70%)
HSVhsv(246, 57%, 98%)
CMYKcmyk(50.8%, 56.8%, 0%, 2%)
CIE-LABlab(53.85, 42.27, -69.33)
CIE-LCHlch(53.85, 81.20, 301.37°)
OKLaboklab(61.95% 0.0476 -0.1984)
OKLCHoklch(61.95% 0.204 283.5)
XYZxyz(30.7810, 21.8365, 93.0169)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6CFA #EBFA6C
analogous
#6CA4FA #7B6CFA #C26CFA
triadic
#7B6CFA #FA7B6C #6CFA7B
tetradic
#7B6CFA #FA6CA4 #EBFA6C #6CFAC2
square
#7B6CFA #FA6CA4 #EBFA6C #6CFAC2
split-complementary
#7B6CFA #FAC26C #A4FA6C
monochromatic
#1F08E4 #4631F8 #7B6CFA #B0A7FC #E4E1FE

Accessibility & contrast

On white

3.91
#7B6CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7B6CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6CFA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6CFA#FFFFFF#000000##000000
##7B6CFA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#498DA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b6cfa;
/* rgb */ color: rgb(123, 108, 250);
/* oklch */ color: oklch(62.0% 0.204 283.5);
Tailwind
colors: {
  custom: {
    50: '#aa96fd',
    500: '#7b6cfa',
    950: '#000000',
  },
}
SCSS
$custom: #7b6cfa;
$custom-light: #aa96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6cfa",
  "rgb": {
    "r": 123,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 246.338,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.20403,
    "h": 283.5
  },
  "luminance": 0.21838
}

Semantic roles & 50–950 ramp

primary
#7B6CFA
secondary
#F0F5CD
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7B6CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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