#7B68E6#7B68E6

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

Color values

HEX#7B68E6
RGBrgb(123, 104, 230)
HSLhsl(249, 72%, 65%)
HSVhsv(249, 55%, 90%)
CMYKcmyk(46.5%, 54.8%, 0%, 9.8%)
CIE-LABlab(51.64, 38.75, -61.75)
CIE-LCHlch(51.64, 72.90, 302.11°)
OKLaboklab(59.9% 0.0517 -0.1761)
OKLCHoklch(59.9% 0.184 286.4)
XYZxyz(27.3975, 19.8236, 77.2303)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68E6 #D3E668
analogous
#6894E6 #7B68E6 #BA68E6
triadic
#7B68E6 #E67B68 #68E67B
tetradic
#7B68E6 #E66894 #D3E668 #68E6BA
square
#7B68E6 #E66894 #D3E668 #68E6BA
split-complementary
#7B68E6 #E6BA68 #94E668
monochromatic
#351EB6 #4D33DD #7B68E6 #A99DEF #D7D1F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B68E6#FFFFFF#000000##000000
##7B68E61.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)
#1F7EEA
Deuteranopia (green-blind)
#1C77E3
Tritanopia (blue-blind)
#58849D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b68e6;
/* rgb */ color: rgb(123, 104, 230);
/* oklch */ color: oklch(59.9% 0.184 286.4);
Tailwind
colors: {
  custom: {
    50: '#a893ef',
    500: '#7b68e6',
    950: '#000000',
  },
}
SCSS
$custom: #7b68e6;
$custom-light: #a893ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68e6",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 249.048,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.18355,
    "h": 286.4
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#7B68E6
secondary
#E4EAC0
accent
#D412B6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7B68E6

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

Preview Lab → · Contrast checker → · Palette generator →

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