#7B68DB#7B68DB

#7B68DB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.2% C 0.169 H 287.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7B68DB
RGBrgb(123, 104, 219)
HSLhsl(250, 61%, 63%)
HSVhsv(250, 53%, 86%)
CMYKcmyk(43.8%, 52.5%, 0%, 14.1%)
CIE-LABlab(50.95, 35.59, -56.65)
CIE-LCHlch(50.95, 66.90, 302.14°)
OKLaboklab(59.17% 0.0513 -0.1611)
OKLCHoklch(59.17% 0.169 287.7)
XYZxyz(25.9012, 19.2251, 69.3502)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68DB #C8DB68
analogous
#688EDB #7B68DB #B468DB
triadic
#7B68DB #DB7B68 #68DB7B
tetradic
#7B68DB #DB688E #C8DB68 #68DBB4
square
#7B68DB #DB688E #C8DB68 #68DBB4
split-complementary
#7B68DB #DBB468 #8EDB68
monochromatic
#3B27A2 #5037CF #7B68DB #A699E7 #D1CBF3

Accessibility & contrast

On white

4.33
#7B68DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7B68DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68DB#FFFFFF#000000##000000
##7B68DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#5E8198
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b68db;
/* rgb */ color: rgb(123, 104, 219);
/* oklch */ color: oklch(59.2% 0.169 287.7);
Tailwind
colors: {
  custom: {
    50: '#a793e7',
    500: '#7b68db',
    950: '#000000',
  },
}
SCSS
$custom: #7b68db;
$custom-light: #a793e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68db",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 249.913,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.1691,
    "h": 287.7
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#7B68DB
secondary
#DDE4BB
accent
#C91CAD
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7B68DB

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

Preview Lab → · Contrast checker → · Palette generator →

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