#7B68DC#7B68DC

#7B68DC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.2% C 0.170 H 287.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7B68DC
RGBrgb(123, 104, 220)
HSLhsl(250, 62%, 64%)
HSVhsv(250, 53%, 86%)
CMYKcmyk(44.1%, 52.7%, 0%, 13.7%)
CIE-LABlab(51.01, 35.87, -57.12)
CIE-LCHlch(51.01, 67.45, 302.13°)
OKLaboklab(59.23% 0.0514 -0.1625)
OKLCHoklch(59.23% 0.17 287.5)
XYZxyz(26.0333, 19.2779, 70.0456)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68DC #C9DC68
analogous
#688FDC #7B68DC #B568DC
triadic
#7B68DC #DC7B68 #68DC7B
tetradic
#7B68DC #DC688F #C9DC68 #68DCB5
square
#7B68DC #DC688F #C9DC68 #68DCB5
split-complementary
#7B68DC #DCB568 #8FDC68
monochromatic
#3B26A4 #5036D0 #7B68DC #A69AE8 #D2CBF3

Accessibility & contrast

On white

4.32
#7B68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7B68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68DC#FFFFFF#000000##000000
##7B68DC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#5D8198
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b68dc;
/* rgb */ color: rgb(123, 104, 220);
/* oklch */ color: oklch(59.2% 0.170 287.5);
Tailwind
colors: {
  custom: {
    50: '#a793e7',
    500: '#7b68dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b68dc;
$custom-light: #a793e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68dc",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 249.828,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59232,
    "c": 0.17042,
    "h": 287.5
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#7B68DC
secondary
#DEE4BB
accent
#CA1BAD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7B68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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