#7A6BEC#7A6BEC

#7A6BEC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.7% C 0.187 H 284.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7A6BEC
RGBrgb(122, 107, 236)
HSLhsl(247, 77%, 67%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(48.3%, 54.7%, 0%, 7.5%)
CIE-LABlab(52.63, 38.54, -63.52)
CIE-LCHlch(52.63, 74.29, 301.24°)
OKLaboklab(60.73% 0.0473 -0.1813)
OKLCHoklch(60.73% 0.187 284.6)
XYZxyz(28.4196, 20.7077, 81.8401)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BEC #DDEC6B
analogous
#6B9CEC #7A6BEC #BB6BEC
triadic
#7A6BEC #EC7A6B #6BEC7A
tetradic
#7A6BEC #EC6B9C #DDEC6B #6BECBB
square
#7A6BEC #EC6B9C #DDEC6B #6BECBB
split-complementary
#7A6BEC #ECBB6B #9CEC6B
monochromatic
#2D19C4 #4935E5 #7A6BEC #ABA1F3 #DBD7FA

Accessibility & contrast

On white

4.08
#7A6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7A6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BEC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BEC#FFFFFF#000000##000000
##7A6BEC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81F0
Deuteranopia (green-blind)
#147AE9
Tritanopia (blue-blind)
#5188A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a6bec;
/* rgb */ color: rgb(122, 107, 236);
/* oklch */ color: oklch(60.7% 0.187 284.6);
Tailwind
colors: {
  custom: {
    50: '#a896f3',
    500: '#7a6bec',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bec;
$custom-light: #a896f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bec",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 246.977,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.1874,
    "h": 284.6
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#7A6BEC
secondary
#E9EEC5
accent
#D90CC2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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