#7B68E4#7B68E4

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

Color values

HEX#7B68E4
RGBrgb(123, 104, 228)
HSLhsl(249, 70%, 65%)
HSVhsv(249, 54%, 89%)
CMYKcmyk(46.1%, 54.4%, 0%, 10.6%)
CIE-LABlab(51.51, 38.17, -60.83)
CIE-LCHlch(51.51, 71.81, 302.11°)
OKLaboklab(59.76% 0.0517 -0.1734)
OKLCHoklch(59.76% 0.181 286.6)
XYZxyz(27.1182, 19.7119, 75.7596)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68E4 #D1E468
analogous
#6893E4 #7B68E4 #B968E4
triadic
#7B68E4 #E47B68 #68E47B
tetradic
#7B68E4 #E46893 #D1E468 #68E4B9
square
#7B68E4 #E46893 #D1E468 #68E4B9
split-complementary
#7B68E4 #E4B968 #93E468
monochromatic
#3620B2 #4E34DB #7B68E4 #A89CED #D6D0F7

Accessibility & contrast

On white

4.25
#7B68E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7B68E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68E4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68E4#FFFFFF#000000##000000
##7B68E41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#237EE8
Deuteranopia (green-blind)
#2177E1
Tritanopia (blue-blind)
#59839C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b68e4;
/* rgb */ color: rgb(123, 104, 228);
/* oklch */ color: oklch(59.8% 0.181 286.6);
Tailwind
colors: {
  custom: {
    50: '#a893ed',
    500: '#7b68e4',
    950: '#000000',
  },
}
SCSS
$custom: #7b68e4;
$custom-light: #a893ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68e4",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 249.194,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59763,
    "c": 0.18094,
    "h": 286.6
  },
  "luminance": 0.19713
}

Semantic roles & 50–950 ramp

primary
#7B68E4
secondary
#E2E9BF
accent
#D214B5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7B68E4

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

Preview Lab → · Contrast checker → · Palette generator →

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