#7A6DCD#7A6DCD

#7A6DCD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.143 H 287.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7A6DCD
RGBrgb(122, 109, 205)
HSLhsl(248, 49%, 62%)
HSVhsv(248, 47%, 80%)
CMYKcmyk(40.5%, 46.8%, 0%, 19.6%)
CIE-LABlab(51.25, 28.40, -48.22)
CIE-LCHlch(51.25, 55.96, 300.50°)
OKLaboklab(59.1% 0.0428 -0.1364)
OKLCHoklch(59.1% 0.143 287.4)
XYZxyz(24.5110, 19.4818, 60.2147)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6DCD #C0CD6D
analogous
#6D90CD #7A6DCD #AA6DCD
triadic
#7A6DCD #CD7A6D #6DCD7A
tetradic
#7A6DCD #CD6D90 #C0CD6D #6DCDAA
square
#7A6DCD #CD6D90 #C0CD6D #6DCDAA
split-complementary
#7A6DCD #CDAA6D #90CD6D
monochromatic
#3E318F #5140BC #7A6DCD #A49BDD #CDC8EC

Accessibility & contrast

On white

4.29
#7A6DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7A6DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6DCD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6DCD#FFFFFF#000000##000000
##7A6DCD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#638093
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a6dcd;
/* rgb */ color: rgb(122, 109, 205);
/* oklch */ color: oklch(59.1% 0.143 287.4);
Tailwind
colors: {
  custom: {
    50: '#a497dd',
    500: '#7a6dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7a6dcd;
$custom-light: #a497dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6dcd",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 248.125,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59104,
    "c": 0.14294,
    "h": 287.4
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

primary
#7A6DCD
secondary
#D8DDB9
accent
#BC29A8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7A6DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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