#7B68EA#7B68EA

#7B68EA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 60.2% C 0.189 H 285.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7B68EA
RGBrgb(123, 104, 234)
HSLhsl(249, 76%, 66%)
HSVhsv(249, 56%, 92%)
CMYKcmyk(47.4%, 55.6%, 0%, 8.2%)
CIE-LABlab(51.89, 39.91, -63.58)
CIE-LCHlch(51.89, 75.07, 302.12°)
OKLaboklab(60.17% 0.0518 -0.1815)
OKLCHoklch(60.17% 0.189 285.9)
XYZxyz(27.9656, 20.0508, 80.2226)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68EA #D7EA68
analogous
#6896EA #7B68EA #BC68EA
triadic
#7B68EA #EA7B68 #68EA7B
tetradic
#7B68EA #EA6896 #D7EA68 #68EABC
square
#7B68EA #EA6896 #D7EA68 #68EABC
split-complementary
#7B68EA #EABC68 #96EA68
monochromatic
#321ABD #4C32E3 #7B68EA #AA9EF1 #D9D3F9

Accessibility & contrast

On white

4.19
#7B68EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7B68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68EA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68EA#FFFFFF#000000##000000
##7B68EA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#157FEE
Deuteranopia (green-blind)
#0E78E7
Tritanopia (blue-blind)
#55859F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b68ea;
/* rgb */ color: rgb(123, 104, 234);
/* oklch */ color: oklch(60.2% 0.189 285.9);
Tailwind
colors: {
  custom: {
    50: '#a893f1',
    500: '#7b68ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b68ea;
$custom-light: #a893f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68ea",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 248.769,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60171,
    "c": 0.18873,
    "h": 285.9
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#7B68EA
secondary
#E6ECC2
accent
#D80EBA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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