#7B68CF#7B68CF

#7B68CF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.4% C 0.153 H 289.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B68CF
RGBrgb(123, 104, 207)
HSLhsl(251, 52%, 61%)
HSVhsv(251, 50%, 81%)
CMYKcmyk(40.6%, 49.8%, 0%, 18.8%)
CIE-LABlab(50.23, 32.19, -50.97)
CIE-LCHlch(50.23, 60.28, 302.27°)
OKLaboklab(58.4% 0.0505 -0.1444)
OKLCHoklch(58.4% 0.153 289.3)
XYZxyz(24.3781, 18.6158, 61.3282)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68CF #BCCF68
analogous
#6888CF #7B68CF #AE68CF
triadic
#7B68CF #CF7B68 #68CF7B
tetradic
#7B68CF #CF6888 #BCCF68 #68CFAE
square
#7B68CF #CF6888 #BCCF68 #68CFAE
split-complementary
#7B68CF #CFAE68 #88CF68
monochromatic
#3F2D8F #543CBE #7B68CF #A496DE #CCC5ED

Accessibility & contrast

On white

4.45
#7B68CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7B68CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68CF#FFFFFF#000000##000000
##7B68CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD3
Deuteranopia (green-blind)
#3F75CD
Tritanopia (blue-blind)
#647D92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b68cf;
/* rgb */ color: rgb(123, 104, 207);
/* oklch */ color: oklch(58.4% 0.153 289.3);
Tailwind
colors: {
  custom: {
    50: '#a593de',
    500: '#7b68cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b68cf;
$custom-light: #a593de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68cf",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 251.068,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58402,
    "c": 0.15302,
    "h": 289.3
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#7B68CF
secondary
#D6DDB6
accent
#BF26A3
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7B68CF

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

Preview Lab → · Contrast checker → · Palette generator →

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