#7B68E1#7B68E1

#7B68E1 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.6% C 0.177 H 286.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7B68E1
RGBrgb(123, 104, 225)
HSLhsl(249, 67%, 65%)
HSVhsv(249, 54%, 88%)
CMYKcmyk(45.3%, 53.8%, 0%, 11.8%)
CIE-LABlab(51.32, 37.31, -59.44)
CIE-LCHlch(51.32, 70.18, 302.11°)
OKLaboklab(59.56% 0.0516 -0.1693)
OKLCHoklch(59.56% 0.177 286.9)
XYZxyz(26.7054, 19.5467, 73.5853)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68E1 #CEE168
analogous
#6892E1 #7B68E1 #B768E1
triadic
#7B68E1 #E17B68 #68E17B
tetradic
#7B68E1 #E16892 #CEE168 #68E1B7
square
#7B68E1 #E16892 #CEE168 #68E1B7
split-complementary
#7B68E1 #E1B768 #92E168
monochromatic
#3822AC #4E35D7 #7B68E1 #A89BEB #D4CEF5

Accessibility & contrast

On white

4.28
#7B68E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7B68E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68E1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68E1#FFFFFF#000000##000000
##7B68E11.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#287DE5
Deuteranopia (green-blind)
#2777DE
Tritanopia (blue-blind)
#5B829B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b68e1;
/* rgb */ color: rgb(123, 104, 225);
/* oklch */ color: oklch(59.6% 0.177 286.9);
Tailwind
colors: {
  custom: {
    50: '#a793eb',
    500: '#7b68e1',
    950: '#000000',
  },
}
SCSS
$custom: #7b68e1;
$custom-light: #a793eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68e1",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 225
  },
  "hsl": {
    "h": 249.421,
    "s": 66.851,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.17701,
    "h": 286.9
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#7B68E1
secondary
#E1E7BE
accent
#CF17B2
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7B68E1

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

Preview Lab → · Contrast checker → · Palette generator →

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