#7B68C5#7B68C5

#7B68C5 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.8% C 0.139 H 290.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B68C5
RGBrgb(123, 104, 197)
HSLhsl(252, 44%, 59%)
HSVhsv(252, 47%, 77%)
CMYKcmyk(37.6%, 47.2%, 0%, 22.7%)
CIE-LABlab(49.67, 29.40, -46.15)
CIE-LCHlch(49.67, 54.72, 302.50°)
OKLaboklab(57.79% 0.0494 -0.1303)
OKLCHoklch(57.79% 0.139 290.8)
XYZxyz(23.1940, 18.1422, 55.0923)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68C5 #B2C568
analogous
#6884C5 #7B68C5 #AA68C5
triadic
#7B68C5 #C57B68 #68C57B
tetradic
#7B68C5 #C56884 #B2C568 #68C5AA
square
#7B68C5 #C56884 #B2C568 #68C5AA
split-complementary
#7B68C5 #C5AA68 #84C568
monochromatic
#423281 #5843AD #7B68C5 #A294D6 #C8C0E7

Accessibility & contrast

On white

4.54
#7B68C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7B68C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68C5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68C5#FFFFFF#000000##000000
##7B68C51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4678C8
Deuteranopia (green-blind)
#4874C3
Tritanopia (blue-blind)
#687A8D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b68c5;
/* rgb */ color: rgb(123, 104, 197);
/* oklch */ color: oklch(57.8% 0.139 290.8);
Tailwind
colors: {
  custom: {
    50: '#a493d7',
    500: '#7b68c5',
    950: '#000000',
  },
}
SCSS
$custom: #7b68c5;
$custom-light: #a493d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68c5",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 197
  },
  "hsl": {
    "h": 252.258,
    "s": 44.498,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.13938,
    "h": 290.8
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#7B68C5
secondary
#CFD7B2
accent
#D454BA
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7B68C5

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

Preview Lab → · Contrast checker → · Palette generator →

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