#7B68CB#7B68CB

#7B68CB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.2% C 0.148 H 289.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B68CB
RGBrgb(123, 104, 203)
HSLhsl(252, 49%, 60%)
HSVhsv(252, 49%, 80%)
CMYKcmyk(39.4%, 48.8%, 0%, 20.4%)
CIE-LABlab(50.00, 31.07, -49.05)
CIE-LCHlch(50.00, 58.06, 302.35°)
OKLaboklab(58.16% 0.0501 -0.1388)
OKLCHoklch(58.16% 0.148 289.8)
XYZxyz(23.8952, 18.4227, 58.7853)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68CB #B8CB68
analogous
#6887CB #7B68CB #AC68CB
triadic
#7B68CB #CB7B68 #68CB7B
tetradic
#7B68CB #CB6887 #B8CB68 #68CBAC
square
#7B68CB #CB6887 #B8CB68 #68CBAC
split-complementary
#7B68CB #CBAC68 #87CB68
monochromatic
#412F89 #563FB7 #7B68CB #A396DB #CBC3EA

Accessibility & contrast

On white

4.48
#7B68CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7B68CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68CB#FFFFFF#000000##000000
##7B68CB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#657C90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b68cb;
/* rgb */ color: rgb(123, 104, 203);
/* oklch */ color: oklch(58.2% 0.148 289.8);
Tailwind
colors: {
  custom: {
    50: '#a593db',
    500: '#7b68cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b68cb;
$custom-light: #a593db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68cb",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 251.515,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58156,
    "c": 0.14759,
    "h": 289.8
  },
  "luminance": 0.18423
}

Semantic roles & 50–950 ramp

primary
#7B68CB
secondary
#D3DAB4
accent
#BC29A0
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7B68CB

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

Preview Lab → · Contrast checker → · Palette generator →

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