#7B6FEE#7B6FEE

#7B6FEE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.185 H 283.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7B6FEE
RGBrgb(123, 111, 238)
HSLhsl(246, 79%, 68%)
HSVhsv(246, 53%, 93%)
CMYKcmyk(48.3%, 53.4%, 0%, 6.7%)
CIE-LABlab(53.76, 36.99, -62.81)
CIE-LCHlch(53.76, 72.89, 300.50°)
OKLaboklab(61.64% 0.0442 -0.1792)
OKLCHoklch(61.64% 0.185 283.9)
XYZxyz(29.2808, 21.7514, 83.5279)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6FEE #E2EE6F
analogous
#6FA2EE #7B6FEE #BA6FEE
triadic
#7B6FEE #EE7B6F #6FEE7B
tetradic
#7B6FEE #EE6FA2 #E2EE6F #6FEEBA
square
#7B6FEE #EE6FA2 #E2EE6F #6FEEBA
split-complementary
#7B6FEE #EEBA6F #A2EE6F
monochromatic
#2918CB #4938E8 #7B6FEE #ADA6F4 #DFDCFB

Accessibility & contrast

On white

3.92
#7B6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7B6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6FEE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6FEE#FFFFFF#000000##000000
##7B6FEE1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F2
Deuteranopia (green-blind)
#207CEB
Tritanopia (blue-blind)
#528BA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b6fee;
/* rgb */ color: rgb(123, 111, 238);
/* oklch */ color: oklch(61.6% 0.185 283.9);
Tailwind
colors: {
  custom: {
    50: '#a898f4',
    500: '#7b6fee',
    950: '#000000',
  },
}
SCSS
$custom: #7b6fee;
$custom-light: #a898f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6fee",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 245.669,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61639,
    "c": 0.18456,
    "h": 283.9
  },
  "luminance": 0.21753
}

Semantic roles & 50–950 ramp

primary
#7B6FEE
secondary
#ECF0C9
accent
#DB0AC7
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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