#7B68F1#7B68F1

#7B68F1 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.7% C 0.198 H 285.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B68F1
RGBrgb(123, 104, 241)
HSLhsl(248, 83%, 68%)
HSVhsv(248, 57%, 95%)
CMYKcmyk(49%, 56.8%, 0%, 5.5%)
CIE-LABlab(52.35, 41.94, -66.75)
CIE-LCHlch(52.35, 78.83, 302.14°)
OKLaboklab(60.66% 0.0518 -0.1908)
OKLCHoklch(60.66% 0.198 285.2)
XYZxyz(28.9912, 20.4610, 85.6238)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68F1 #DEF168
analogous
#689AF1 #7B68F1 #BF68F1
triadic
#7B68F1 #F17B68 #68F17B
tetradic
#7B68F1 #F1689A #DEF168 #68F1BF
square
#7B68F1 #F1689A #DEF168 #68F1BF
split-complementary
#7B68F1 #F1BF68 #9AF168
monochromatic
#2D13CC #4A30EC #7B68F1 #ACA0F6 #DDD8FB

Accessibility & contrast

On white

4.12
#7B68F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7B68F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68F1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68F1#FFFFFF#000000##000000
##7B68F11.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#5087A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b68f1;
/* rgb */ color: rgb(123, 104, 241);
/* oklch */ color: oklch(60.7% 0.198 285.2);
Tailwind
colors: {
  custom: {
    50: '#a994f6',
    500: '#7b68f1',
    950: '#000000',
  },
}
SCSS
$custom: #7b68f1;
$custom-light: #a994f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68f1",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 241
  },
  "hsl": {
    "h": 248.321,
    "s": 83.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.19774,
    "h": 285.2
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#7B68F1
secondary
#EAF0C5
accent
#DF06C1
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B68F1

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

Preview Lab → · Contrast checker → · Palette generator →

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