#7A6BCF#7A6BCF

#7A6BCF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.9% C 0.149 H 287.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7A6BCF
RGBrgb(122, 107, 207)
HSLhsl(249, 51%, 62%)
HSVhsv(249, 48%, 81%)
CMYKcmyk(41.1%, 48.3%, 0%, 18.8%)
CIE-LABlab(50.87, 30.16, -49.96)
CIE-LCHlch(50.87, 58.36, 301.12°)
OKLaboklab(58.86% 0.0455 -0.1415)
OKLCHoklch(58.86% 0.149 287.8)
XYZxyz(24.5431, 19.1571, 61.4239)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BCF #C0CF6B
analogous
#6B8ECF #7A6BCF #AC6BCF
triadic
#7A6BCF #CF7A6B #6BCF7A
tetradic
#7A6BCF #CF6B8E #C0CF6B #6BCFAC
square
#7A6BCF #CF6B8E #C0CF6B #6BCFAC
split-complementary
#7A6BCF #CFAC6B #8ECF6B
monochromatic
#3E2F91 #513EBF #7A6BCF #A499DE #CDC7ED

Accessibility & contrast

On white

4.35
#7A6BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7A6BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BCF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BCF#FFFFFF#000000##000000
##7A6BCF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#627F93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a6bcf;
/* rgb */ color: rgb(122, 107, 207);
/* oklch */ color: oklch(58.9% 0.149 287.8);
Tailwind
colors: {
  custom: {
    50: '#a595de',
    500: '#7a6bcf',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bcf;
$custom-light: #a595de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bcf",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 249,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58858,
    "c": 0.14864,
    "h": 287.8
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#7A6BCF
secondary
#D8DEB8
accent
#BE27A8
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7A6BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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