#7B68C8#7B68C8

#7B68C8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.0% C 0.143 H 290.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7B68C8
RGBrgb(123, 104, 200)
HSLhsl(252, 47%, 60%)
HSVhsv(252, 48%, 78%)
CMYKcmyk(38.5%, 48%, 0%, 21.6%)
CIE-LABlab(49.84, 30.23, -47.60)
CIE-LCHlch(49.84, 56.39, 302.42°)
OKLaboklab(57.97% 0.0498 -0.1346)
OKLCHoklch(57.97% 0.144 290.3)
XYZxyz(23.5412, 18.2811, 56.9206)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68C8 #B5C868
analogous
#6885C8 #7B68C8 #AB68C8
triadic
#7B68C8 #C87B68 #68C87B
tetradic
#7B68C8 #C86885 #B5C868 #68C8AB
square
#7B68C8 #C86885 #B5C868 #68C8AB
split-complementary
#7B68C8 #C8AB68 #85C868
monochromatic
#413085 #5741B2 #7B68C8 #A295D8 #C9C2E9

Accessibility & contrast

On white

4.51
#7B68C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7B68C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68C8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68C8#FFFFFF#000000##000000
##7B68C81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#4574C6
Tritanopia (blue-blind)
#677B8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b68c8;
/* rgb */ color: rgb(123, 104, 200);
/* oklch */ color: oklch(58.0% 0.143 290.3);
Tailwind
colors: {
  custom: {
    50: '#a593d9',
    500: '#7b68c8',
    950: '#000000',
  },
}
SCSS
$custom: #7b68c8;
$custom-light: #a593d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68c8",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 251.875,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.1435,
    "h": 290.3
  },
  "luminance": 0.18282
}

Semantic roles & 50–950 ramp

primary
#7B68C8
secondary
#D1D9B3
accent
#D652BC
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7B68C8

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

Preview Lab → · Contrast checker → · Palette generator →

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