#7A68BF#7A68BF

#7A68BF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.4% C 0.131 H 291.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7A68BF
RGBrgb(122, 104, 191)
HSLhsl(252, 40%, 58%)
HSVhsv(252, 46%, 75%)
CMYKcmyk(36.1%, 45.5%, 0%, 25.1%)
CIE-LABlab(49.25, 27.49, -43.36)
CIE-LCHlch(49.25, 51.34, 302.37°)
OKLaboklab(57.35% 0.0474 -0.1222)
OKLCHoklch(57.35% 0.131 291.2)
XYZxyz(22.3778, 17.7992, 51.5367)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A68BF #ADBF68
analogous
#6881BF #7A68BF #A568BF
triadic
#7A68BF #BF7A68 #68BF7A
tetradic
#7A68BF #BF6881 #ADBF68 #68BFA5
square
#7A68BF #BF6881 #ADBF68 #68BFA5
split-complementary
#7A68BF #BFA568 #81BF68
monochromatic
#423379 #5946A4 #7A68BF #A093D1 #C6BEE3

Accessibility & contrast

On white

4.61
#7A68BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7A68BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A68BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A68BF#FFFFFF#000000##FFFFFF
##7A68BF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C2
Deuteranopia (green-blind)
#4C73BD
Tritanopia (blue-blind)
#69798A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a68bf;
/* rgb */ color: rgb(122, 104, 191);
/* oklch */ color: oklch(57.4% 0.131 291.2);
Tailwind
colors: {
  custom: {
    50: '#a393d3',
    500: '#7a68bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a68bf;
$custom-light: #a393d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a68bf",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 252.414,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.13108,
    "h": 291.2
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#7A68BF
secondary
#CCD3B0
accent
#D057B7
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7A68BF

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

Preview Lab → · Contrast checker → · Palette generator →

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