#7B6EF5#7B6EF5

#7B6EF5 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.195 H 283.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7B6EF5
RGBrgb(123, 110, 245)
HSLhsl(246, 87%, 70%)
HSVhsv(246, 55%, 96%)
CMYKcmyk(49.8%, 55.1%, 0%, 3.9%)
CIE-LABlab(53.98, 39.64, -66.36)
CIE-LCHlch(53.98, 77.29, 300.85°)
OKLaboklab(61.94% 0.0455 -0.1896)
OKLCHoklch(61.94% 0.195 283.5)
XYZxyz(30.2208, 21.9538, 89.0136)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6EF5 #E8F56E
analogous
#6EA4F5 #7B6EF5 #BF6EF5
triadic
#7B6EF5 #F57B6E #6EF57B
tetradic
#7B6EF5 #F56EA4 #E8F56E #6EF5BF
square
#7B6EF5 #F56EA4 #E8F56E #6EF5BF
split-complementary
#7B6EF5 #F5BF6E #A4F56E
monochromatic
#230FDA #4735F1 #7B6EF5 #AFA7F9 #E3E1FD

Accessibility & contrast

On white

3.90
#7B6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7B6EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6EF5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6EF5#FFFFFF#000000##000000
##7B6EF51.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1485FA
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#4D8DA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b6ef5;
/* rgb */ color: rgb(123, 110, 245);
/* oklch */ color: oklch(61.9% 0.195 283.5);
Tailwind
colors: {
  custom: {
    50: '#a998f9',
    500: '#7b6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ef5;
$custom-light: #a998f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ef5",
  "rgb": {
    "r": 123,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 245.778,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.19501,
    "h": 283.5
  },
  "luminance": 0.21955
}

Semantic roles & 50–950 ramp

primary
#7B6EF5
secondary
#EFF3CC
accent
#E402CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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