#7D68D5#7D68D5

#7D68D5 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.0% C 0.161 H 289.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7D68D5
RGBrgb(125, 104, 213)
HSLhsl(252, 56%, 62%)
HSVhsv(252, 51%, 84%)
CMYKcmyk(41.3%, 51.2%, 0%, 16.5%)
CIE-LABlab(50.76, 34.35, -53.54)
CIE-LCHlch(50.76, 63.61, 302.69°)
OKLaboklab(58.95% 0.0534 -0.1519)
OKLCHoklch(58.95% 0.161 289.4)
XYZxyz(25.4147, 19.0639, 65.2785)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D68D5 #C0D568
analogous
#6889D5 #7D68D5 #B468D5
triadic
#7D68D5 #D57D68 #68D57D
tetradic
#7D68D5 #D56889 #C0D568 #68D5B4
square
#7D68D5 #D56889 #C0D568 #68D5B4
split-complementary
#7D68D5 #D5B468 #89D568
monochromatic
#402A98 #5438C8 #7D68D5 #A698E2 #CFC8F0

Accessibility & contrast

On white

4.36
#7D68D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7D68D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D68D5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D68D5#FFFFFF#000000##000000
##7D68D51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD9
Deuteranopia (green-blind)
#3A76D3
Tritanopia (blue-blind)
#647F95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d68d5;
/* rgb */ color: rgb(125, 104, 213);
/* oklch */ color: oklch(59.0% 0.161 289.4);
Tailwind
colors: {
  custom: {
    50: '#a793e2',
    500: '#7d68d5',
    950: '#000000',
  },
}
SCSS
$custom: #7d68d5;
$custom-light: #a793e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d68d5",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 251.56,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.16104,
    "h": 289.4
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#7D68D5
secondary
#D9E0B8
accent
#C421A5
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7D68D5

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

Preview Lab → · Contrast checker → · Palette generator →

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