#7A67EB#7A67EB

#7A67EB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 60.0% C 0.191 H 285.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7A67EB
RGBrgb(122, 103, 235)
HSLhsl(249, 77%, 66%)
HSVhsv(249, 56%, 92%)
CMYKcmyk(48.1%, 56.2%, 0%, 7.8%)
CIE-LABlab(51.65, 40.57, -64.54)
CIE-LCHlch(51.65, 76.23, 302.16°)
OKLaboklab(59.99% 0.0517 -0.1844)
OKLCHoklch(59.99% 0.191 285.7)
XYZxyz(27.8673, 19.8349, 80.9413)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67EB #D8EB67
analogous
#6796EB #7A67EB #BC67EB
triadic
#7A67EB #EB7A67 #67EB7A
tetradic
#7A67EB #EB6796 #D8EB67 #67EBBC
square
#7A67EB #EB6796 #D8EB67 #67EBBC
split-complementary
#7A67EB #EBBC67 #96EB67
monochromatic
#3119BF #4B31E4 #7A67EB #A99DF2 #D9D3F9

Accessibility & contrast

On white

4.23
#7A67EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7A67EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A67EB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67EB#FFFFFF#000000##000000
##7A67EB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#077FEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#52859F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a67eb;
/* rgb */ color: rgb(122, 103, 235);
/* oklch */ color: oklch(60.0% 0.191 285.7);
Tailwind
colors: {
  custom: {
    50: '#a893f2',
    500: '#7a67eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a67eb;
$custom-light: #a893f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67eb",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 248.636,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.5999,
    "c": 0.19145,
    "h": 285.7
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#7A67EB
secondary
#E6ECC1
accent
#D90DBC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A67EB

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

Preview Lab → · Contrast checker → · Palette generator →

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