#7A6CFA#7A6CFA

#7A6CFA is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.9% C 0.204 H 283.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7A6CFA
RGBrgb(122, 108, 250)
HSLhsl(246, 93%, 70%)
HSVhsv(246, 57%, 98%)
CMYKcmyk(51.2%, 56.8%, 0%, 2%)
CIE-LABlab(53.77, 42.08, -69.47)
CIE-LCHlch(53.77, 81.22, 301.21°)
OKLaboklab(61.88% 0.0464 -0.1988)
OKLCHoklch(61.88% 0.204 283.1)
XYZxyz(30.6387, 21.7631, 93.0102)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6CFA #ECFA6C
analogous
#6CA5FA #7A6CFA #C16CFA
triadic
#7A6CFA #FA7A6C #6CFA7A
tetradic
#7A6CFA #FA6CA5 #ECFA6C #6CFAC1
square
#7A6CFA #FA6CA5 #ECFA6C #6CFAC1
split-complementary
#7A6CFA #FAC16C #A5FA6C
monochromatic
#1D08E4 #4431F8 #7A6CFA #B0A7FC #E4E1FE

Accessibility & contrast

On white

3.92
#7A6CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7A6CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6CFA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6CFA#FFFFFF#000000##000000
##7A6CFA1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#468DA9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a6cfa;
/* rgb */ color: rgb(122, 108, 250);
/* oklch */ color: oklch(61.9% 0.204 283.1);
Tailwind
colors: {
  custom: {
    50: '#a996fd',
    500: '#7a6cfa',
    950: '#000000',
  },
}
SCSS
$custom: #7a6cfa;
$custom-light: #a996fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6cfa",
  "rgb": {
    "r": 122,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 245.915,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.20415,
    "h": 283.1
  },
  "luminance": 0.21765
}

Semantic roles & 50–950 ramp

primary
#7A6CFA
secondary
#F1F5CD
accent
#E600CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7A6CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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