#7A67E8#7A67E8

#7A67E8 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.8% C 0.188 H 286.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A67E8
RGBrgb(122, 103, 232)
HSLhsl(249, 74%, 66%)
HSVhsv(249, 56%, 91%)
CMYKcmyk(47.4%, 55.6%, 0%, 9%)
CIE-LABlab(51.45, 39.70, -63.17)
CIE-LCHlch(51.45, 74.61, 302.15°)
OKLaboklab(59.78% 0.0516 -0.1803)
OKLCHoklch(59.78% 0.188 286)
XYZxyz(27.4375, 19.6630, 78.6779)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67E8 #D5E867
analogous
#6794E8 #7A67E8 #BA67E8
triadic
#7A67E8 #E87A67 #67E87A
tetradic
#7A67E8 #E86794 #D5E867 #67E8BA
square
#7A67E8 #E86794 #D5E867 #67E8BA
split-complementary
#7A67E8 #E8BA67 #94E867
monochromatic
#331CB9 #4B32E0 #7A67E8 #A99CF0 #D7D1F8

Accessibility & contrast

On white

4.26
#7A67E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7A67E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A67E8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67E8#FFFFFF#000000##000000
##7A67E81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#147EEC
Deuteranopia (green-blind)
#0E77E5
Tritanopia (blue-blind)
#54849E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a67e8;
/* rgb */ color: rgb(122, 103, 232);
/* oklch */ color: oklch(59.8% 0.188 286.0);
Tailwind
colors: {
  custom: {
    50: '#a793f0',
    500: '#7a67e8',
    950: '#000000',
  },
}
SCSS
$custom: #7a67e8;
$custom-light: #a793f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67e8",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 232
  },
  "hsl": {
    "h": 248.837,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.18758,
    "h": 286
  },
  "luminance": 0.19664
}

Semantic roles & 50–950 ramp

primary
#7A67E8
secondary
#E5EBC0
accent
#D610B9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A67E8

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

Preview Lab → · Contrast checker → · Palette generator →

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