#7B68EF#7B68EF

#7B68EF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.5% C 0.195 H 285.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7B68EF
RGBrgb(123, 104, 239)
HSLhsl(248, 81%, 67%)
HSVhsv(248, 56%, 94%)
CMYKcmyk(48.5%, 56.5%, 0%, 6.3%)
CIE-LABlab(52.22, 41.36, -65.85)
CIE-LCHlch(52.22, 77.76, 302.13°)
OKLaboklab(60.52% 0.0518 -0.1882)
OKLCHoklch(60.52% 0.195 285.4)
XYZxyz(28.6941, 20.3422, 84.0591)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68EF #DCEF68
analogous
#6899EF #7B68EF #BE68EF
triadic
#7B68EF #EF7B68 #68EF7B
tetradic
#7B68EF #EF6899 #DCEF68 #68EFBE
square
#7B68EF #EF6899 #DCEF68 #68EFBE
split-complementary
#7B68EF #EFBE68 #99EF68
monochromatic
#2E15C7 #4B31E9 #7B68EF #AB9FF5 #DCD7FB

Accessibility & contrast

On white

4.14
#7B68EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7B68EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68EF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68EF#FFFFFF#000000##000000
##7B68EF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#5287A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b68ef;
/* rgb */ color: rgb(123, 104, 239);
/* oklch */ color: oklch(60.5% 0.195 285.4);
Tailwind
colors: {
  custom: {
    50: '#a994f5',
    500: '#7b68ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b68ef;
$custom-light: #a994f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68ef",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 248.444,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60517,
    "c": 0.19517,
    "h": 285.4
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#7B68EF
secondary
#E9EFC4
accent
#DD08BF
background
#FAF9FF
surface
#F5F1FE
border
#CFCBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B68EF

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

Preview Lab → · Contrast checker → · Palette generator →

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