#7B68EC#7B68EC

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

Color values

HEX#7B68EC
RGBrgb(123, 104, 236)
HSLhsl(249, 78%, 67%)
HSVhsv(249, 56%, 93%)
CMYKcmyk(47.9%, 55.9%, 0%, 7.5%)
CIE-LABlab(52.02, 40.49, -64.49)
CIE-LCHlch(52.02, 76.14, 302.12°)
OKLaboklab(60.31% 0.0518 -0.1842)
OKLCHoklch(60.31% 0.191 285.7)
XYZxyz(28.2546, 20.1664, 81.7444)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68EC #D9EC68
analogous
#6897EC #7B68EC #BD68EC
triadic
#7B68EC #EC7B68 #68EC7B
tetradic
#7B68EC #EC6897 #D9EC68 #68ECBD
square
#7B68EC #EC6897 #D9EC68 #68ECBD
split-complementary
#7B68EC #ECBD68 #97EC68
monochromatic
#3118C1 #4B32E5 #7B68EC #AB9EF3 #DAD5FA

Accessibility & contrast

On white

4.17
#7B68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7B68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68EC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68EC#FFFFFF#000000##000000
##7B68EC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D80F0
Deuteranopia (green-blind)
#0278E9
Tritanopia (blue-blind)
#5486A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b68ec;
/* rgb */ color: rgb(123, 104, 236);
/* oklch */ color: oklch(60.3% 0.191 285.7);
Tailwind
colors: {
  custom: {
    50: '#a894f3',
    500: '#7b68ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b68ec;
$custom-light: #a894f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68ec",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 248.636,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60309,
    "c": 0.19132,
    "h": 285.7
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#7B68EC
secondary
#E7EDC3
accent
#DA0CBC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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