#7B6EF3#7B6EF3

#7B6EF3 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.8% C 0.192 H 283.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B6EF3
RGBrgb(123, 110, 243)
HSLhsl(246, 85%, 69%)
HSVhsv(246, 55%, 95%)
CMYKcmyk(49.4%, 54.7%, 0%, 4.7%)
CIE-LABlab(53.85, 39.05, -65.45)
CIE-LCHlch(53.85, 76.22, 300.82°)
OKLaboklab(61.81% 0.0454 -0.187)
OKLCHoklch(61.81% 0.192 283.7)
XYZxyz(29.9171, 21.8323, 87.4143)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6EF3 #E6F36E
analogous
#6EA4F3 #7B6EF3 #BE6EF3
triadic
#7B6EF3 #F37B6E #6EF37B
tetradic
#7B6EF3 #F36EA4 #E6F36E #6EF3BE
square
#7B6EF3 #F36EA4 #E6F36E #6EF3BE
split-complementary
#7B6EF3 #F3BE6E #A4F36E
monochromatic
#2512D5 #4835EE #7B6EF3 #AEA7F8 #E2DFFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B6EF3#FFFFFF#000000##000000
##7B6EF31.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)
#1B85F8
Deuteranopia (green-blind)
#097CF0
Tritanopia (blue-blind)
#4E8CA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b6ef3;
/* rgb */ color: rgb(123, 110, 243);
/* oklch */ color: oklch(61.8% 0.192 283.7);
Tailwind
colors: {
  custom: {
    50: '#a998f8',
    500: '#7b6ef3',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ef3;
$custom-light: #a998f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ef3",
  "rgb": {
    "r": 123,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 245.865,
    "s": 84.713,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.19242,
    "h": 283.7
  },
  "luminance": 0.21834
}

Semantic roles & 50–950 ramp

primary
#7B6EF3
secondary
#EEF2CB
accent
#E104CC
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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