#7B68BA#7B68BA

#7B68BA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.2% C 0.124 H 292.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B68BA
RGBrgb(123, 104, 186)
HSLhsl(254, 37%, 57%)
HSVhsv(254, 44%, 73%)
CMYKcmyk(33.9%, 44.1%, 0%, 27.1%)
CIE-LABlab(49.08, 26.40, -40.74)
CIE-LCHlch(49.08, 48.55, 302.94°)
OKLaboklab(57.16% 0.0479 -0.1145)
OKLCHoklch(57.16% 0.124 292.7)
XYZxyz(21.9793, 17.6563, 48.6949)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68BA #A7BA68
analogous
#687EBA #7B68BA #A468BA
triadic
#7B68BA #BA7B68 #68BA7B
tetradic
#7B68BA #BA687E #A7BA68 #68BAA4
square
#7B68BA #BA687E #A7BA68 #68BAA4
split-complementary
#7B68BA #BAA468 #7EBA68
monochromatic
#433573 #5C489D #7B68BA #A092CD #C4BCE0

Accessibility & contrast

On white

4.63
#7B68BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7B68BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B68BA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68BA#FFFFFF#000000##FFFFFF
##7B68BA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BD
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#6C7788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b68ba;
/* rgb */ color: rgb(123, 104, 186);
/* oklch */ color: oklch(57.2% 0.124 292.7);
Tailwind
colors: {
  custom: {
    50: '#a493cf',
    500: '#7b68ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b68ba;
$custom-light: #a493cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68ba",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 186
  },
  "hsl": {
    "h": 253.902,
    "s": 37.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57156,
    "c": 0.12415,
    "h": 292.7
  },
  "luminance": 0.17657
}

Semantic roles & 50–950 ramp

primary
#7B68BA
secondary
#C8D0AE
accent
#CD5BB3
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7B68BA

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

Preview Lab → · Contrast checker → · Palette generator →

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