#7A6CDA#7A6CDA

#7A6CDA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.7% C 0.162 H 286.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7A6CDA
RGBrgb(122, 108, 218)
HSLhsl(248, 60%, 64%)
HSVhsv(248, 50%, 85%)
CMYKcmyk(44%, 50.5%, 0%, 14.5%)
CIE-LABlab(51.75, 32.71, -54.80)
CIE-LCHlch(51.75, 63.82, 300.83°)
OKLaboklab(59.72% 0.0453 -0.1557)
OKLCHoklch(59.72% 0.162 286.2)
XYZxyz(26.0398, 19.9236, 68.7897)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6CDA #CCDA6C
analogous
#6C95DA #7A6CDA #B16CDA
triadic
#7A6CDA #DA7A6C #6CDA7A
tetradic
#7A6CDA #DA6C95 #CCDA6C #6CDAB1
square
#7A6CDA #DA6C95 #CCDA6C #6CDAB1
split-complementary
#7A6CDA #DAB16C #95DA6C
monochromatic
#3829A3 #4E3BCE #7A6CDA #A69DE6 #D2CEF3

Accessibility & contrast

On white

4.21
#7A6CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7A6CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6CDA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6CDA#FFFFFF#000000##000000
##7A6CDA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDE
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#5C8399
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a6cda;
/* rgb */ color: rgb(122, 108, 218);
/* oklch */ color: oklch(59.7% 0.162 286.2);
Tailwind
colors: {
  custom: {
    50: '#a696e6',
    500: '#7a6cda',
    950: '#000000',
  },
}
SCSS
$custom: #7a6cda;
$custom-light: #a696e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6cda",
  "rgb": {
    "r": 122,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 247.636,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59725,
    "c": 0.16216,
    "h": 286.2
  },
  "luminance": 0.19925
}

Semantic roles & 50–950 ramp

primary
#7A6CDA
secondary
#DFE4BE
accent
#C71EB2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A6CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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