#7A6CDB#7A6CDB

#7A6CDB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.8% C 0.164 H 286.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7A6CDB
RGBrgb(122, 108, 219)
HSLhsl(248, 61%, 64%)
HSVhsv(248, 51%, 86%)
CMYKcmyk(44.3%, 50.7%, 0%, 14.1%)
CIE-LABlab(51.81, 33.00, -55.27)
CIE-LCHlch(51.81, 64.37, 300.84°)
OKLaboklab(59.79% 0.0454 -0.1571)
OKLCHoklch(59.79% 0.164 286.1)
XYZxyz(26.1711, 19.9761, 69.4809)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6CDB #CDDB6C
analogous
#6C96DB #7A6CDB #B26CDB
triadic
#7A6CDB #DB7A6C #6CDB7A
tetradic
#7A6CDB #DB6C96 #CDDB6C #6CDBB2
square
#7A6CDB #DB6C96 #CDDB6C #6CDBB2
split-complementary
#7A6CDB #DBB26C #96DB6C
monochromatic
#3828A4 #4E3BCF #7A6CDB #A69DE7 #D3CEF3

Accessibility & contrast

On white

4.20
#7A6CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7A6CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6CDB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6CDB#FFFFFF#000000##000000
##7A6CDB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FDF
Deuteranopia (green-blind)
#3878D9
Tritanopia (blue-blind)
#5C8499
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a6cdb;
/* rgb */ color: rgb(122, 108, 219);
/* oklch */ color: oklch(59.8% 0.164 286.1);
Tailwind
colors: {
  custom: {
    50: '#a696e7',
    500: '#7a6cdb',
    950: '#000000',
  },
}
SCSS
$custom: #7a6cdb;
$custom-light: #a696e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6cdb",
  "rgb": {
    "r": 122,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 247.568,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59788,
    "c": 0.16351,
    "h": 286.1
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#7A6CDB
secondary
#E0E5BE
accent
#C81DB3
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A6CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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