#7A6BED#7A6BED

#7A6BED is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.8% C 0.189 H 284.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7A6BED
RGBrgb(122, 107, 237)
HSLhsl(247, 78%, 67%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(48.5%, 54.9%, 0%, 7.1%)
CIE-LABlab(52.69, 38.83, -63.98)
CIE-LCHlch(52.69, 74.84, 301.25°)
OKLaboklab(60.8% 0.0473 -0.1827)
OKLCHoklch(60.8% 0.189 284.5)
XYZxyz(28.5652, 20.7660, 82.6074)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BED #DEED6B
analogous
#6B9DED #7A6BED #BB6BED
triadic
#7A6BED #ED7A6B #6BED7A
tetradic
#7A6BED #ED6B9D #DEED6B #6BEDBB
square
#7A6BED #ED6B9D #DEED6B #6BEDBB
split-complementary
#7A6BED #EDBB6B #9DED6B
monochromatic
#2C18C6 #4934E6 #7A6BED #ABA2F4 #DCD8FA

Accessibility & contrast

On white

4.07
#7A6BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7A6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BED
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BED#FFFFFF#000000##000000
##7A6BED1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B82F1
Deuteranopia (green-blind)
#0F7AEA
Tritanopia (blue-blind)
#5188A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a6bed;
/* rgb */ color: rgb(122, 107, 237);
/* oklch */ color: oklch(60.8% 0.189 284.5);
Tailwind
colors: {
  custom: {
    50: '#a896f4',
    500: '#7a6bed',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bed;
$custom-light: #a896f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bed",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 246.923,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60804,
    "c": 0.1887,
    "h": 284.5
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

primary
#7A6BED
secondary
#EAEEC6
accent
#DB0BC3
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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