#7A67E2#7A67E2

#7A67E2 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.4% C 0.180 H 286.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7A67E2
RGBrgb(122, 103, 226)
HSLhsl(249, 68%, 65%)
HSVhsv(249, 54%, 89%)
CMYKcmyk(46%, 54.4%, 0%, 11.4%)
CIE-LABlab(51.07, 37.96, -60.42)
CIE-LCHlch(51.07, 71.35, 302.14°)
OKLaboklab(59.37% 0.0515 -0.1722)
OKLCHoklch(59.37% 0.18 286.7)
XYZxyz(26.5998, 19.3279, 74.2659)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67E2 #CFE267
analogous
#6792E2 #7A67E2 #B767E2
triadic
#7A67E2 #E27A67 #67E27A
tetradic
#7A67E2 #E26792 #CFE267 #67E2B7
square
#7A67E2 #E26792 #CFE267 #67E2B7
split-complementary
#7A67E2 #E2B767 #92E267
monochromatic
#3721AD #4D34D8 #7A67E2 #A79AEC #D4CEF6

Accessibility & contrast

On white

4.32
#7A67E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7A67E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A67E2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67E2#FFFFFF#000000##000000
##7A67E21.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#237DE6
Deuteranopia (green-blind)
#2176DF
Tritanopia (blue-blind)
#58829B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a67e2;
/* rgb */ color: rgb(122, 103, 226);
/* oklch */ color: oklch(59.4% 0.180 286.7);
Tailwind
colors: {
  custom: {
    50: '#a793ec',
    500: '#7a67e2',
    950: '#000000',
  },
}
SCSS
$custom: #7a67e2;
$custom-light: #a793ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67e2",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 226
  },
  "hsl": {
    "h": 249.268,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59374,
    "c": 0.17976,
    "h": 286.7
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#7A67E2
secondary
#E1E8BD
accent
#D016B3
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A67E2

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

Preview Lab → · Contrast checker → · Palette generator →

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