#7B68CC#7B68CC

#7B68CC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.2% C 0.149 H 289.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7B68CC
RGBrgb(123, 104, 204)
HSLhsl(251, 50%, 60%)
HSVhsv(251, 49%, 80%)
CMYKcmyk(39.7%, 49%, 0%, 20%)
CIE-LABlab(50.06, 31.34, -49.53)
CIE-LCHlch(50.06, 58.62, 302.33°)
OKLaboklab(58.22% 0.0502 -0.1402)
OKLCHoklch(58.22% 0.149 289.7)
XYZxyz(24.0148, 18.4705, 59.4149)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68CC #B9CC68
analogous
#6887CC #7B68CC #AD68CC
triadic
#7B68CC #CC7B68 #68CC7B
tetradic
#7B68CC #CC6887 #B9CC68 #68CCAD
square
#7B68CC #CC6887 #B9CC68 #68CCAD
split-complementary
#7B68CC #CCAD68 #87CC68
monochromatic
#402F8B #563EB8 #7B68CC #A396DB #CBC3EB

Accessibility & contrast

On white

4.47
#7B68CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7B68CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68CC#FFFFFF#000000##000000
##7B68CC1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179D0
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#657C90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b68cc;
/* rgb */ color: rgb(123, 104, 204);
/* oklch */ color: oklch(58.2% 0.149 289.7);
Tailwind
colors: {
  custom: {
    50: '#a593dc',
    500: '#7b68cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b68cc;
$custom-light: #a593dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68cc",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 251.4,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.14895,
    "h": 289.7
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#7B68CC
secondary
#D4DBB5
accent
#BD29A1
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7B68CC

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

Preview Lab → · Contrast checker → · Palette generator →

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