#7B68D5#7B68D5

#7B68D5 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.8% C 0.161 H 288.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7B68D5
RGBrgb(123, 104, 213)
HSLhsl(250, 56%, 62%)
HSVhsv(250, 51%, 84%)
CMYKcmyk(42.3%, 51.2%, 0%, 16.5%)
CIE-LABlab(50.59, 33.88, -53.82)
CIE-LCHlch(50.59, 63.60, 302.19°)
OKLaboklab(58.78% 0.051 -0.1528)
OKLCHoklch(58.78% 0.161 288.4)
XYZxyz(25.1256, 18.9148, 65.2650)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68D5 #C2D568
analogous
#688BD5 #7B68D5 #B268D5
triadic
#7B68D5 #D57B68 #68D57B
tetradic
#7B68D5 #D5688B #C2D568 #68D5B2
square
#7B68D5 #D5688B #C2D568 #68D5B2
split-complementary
#7B68D5 #D5B268 #8BD568
monochromatic
#3E2A98 #5138C8 #7B68D5 #A598E2 #CFC8F0

Accessibility & contrast

On white

4.39
#7B68D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7B68D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68D5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68D5#FFFFFF#000000##000000
##7B68D51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#387BD9
Deuteranopia (green-blind)
#3876D3
Tritanopia (blue-blind)
#617F95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b68d5;
/* rgb */ color: rgb(123, 104, 213);
/* oklch */ color: oklch(58.8% 0.161 288.4);
Tailwind
colors: {
  custom: {
    50: '#a693e2',
    500: '#7b68d5',
    950: '#000000',
  },
}
SCSS
$custom: #7b68d5;
$custom-light: #a693e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68d5",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 250.459,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5878,
    "c": 0.1611,
    "h": 288.4
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#7B68D5
secondary
#D9E0B8
accent
#C421A8
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7B68D5

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

Preview Lab → · Contrast checker → · Palette generator →

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