#7B6FF2#7B6FF2

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

Color values

HEX#7B6FF2
RGBrgb(123, 111, 242)
HSLhsl(245, 83%, 69%)
HSVhsv(245, 54%, 95%)
CMYKcmyk(49.2%, 54.1%, 0%, 5.1%)
CIE-LABlab(54.02, 38.17, -64.63)
CIE-LCHlch(54.02, 75.06, 300.57°)
OKLaboklab(61.91% 0.0443 -0.1845)
OKLCHoklch(61.91% 0.19 283.5)
XYZxyz(29.8750, 21.9891, 86.6573)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6FF2 #E6F26F
analogous
#6FA5F2 #7B6FF2 #BD6FF2
triadic
#7B6FF2 #F27B6F #6FF27B
tetradic
#7B6FF2 #F26FA5 #E6F26F #6FF2BD
square
#7B6FF2 #F26FA5 #E6F26F #6FF2BD
split-complementary
#7B6FF2 #F2BD6F #A5F26F
monochromatic
#2513D4 #4837ED #7B6FF2 #AEA7F7 #E2DFFC

Accessibility & contrast

On white

3.89
#7B6FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7B6FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6FF2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6FF2#FFFFFF#000000##000000
##7B6FF21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F6
Deuteranopia (green-blind)
#147DEF
Tritanopia (blue-blind)
#4F8CA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b6ff2;
/* rgb */ color: rgb(123, 111, 242);
/* oklch */ color: oklch(61.9% 0.190 283.5);
Tailwind
colors: {
  custom: {
    50: '#a998f7',
    500: '#7b6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ff2;
$custom-light: #a998f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ff2",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 245.496,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61908,
    "c": 0.18979,
    "h": 283.5
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#7B6FF2
secondary
#EEF1CB
accent
#E006CC
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7B6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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