#7F68DC#7F68DC

#7F68DC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.6% C 0.170 H 289.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7F68DC
RGBrgb(127, 104, 220)
HSLhsl(252, 62%, 64%)
HSVhsv(252, 53%, 86%)
CMYKcmyk(42.3%, 52.7%, 0%, 13.7%)
CIE-LABlab(51.36, 36.79, -56.54)
CIE-LCHlch(51.36, 67.45, 303.05°)
OKLaboklab(59.58% 0.0563 -0.1607)
OKLCHoklch(59.58% 0.17 289.3)
XYZxyz(26.6174, 19.5791, 70.0730)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68DC #C5DC68
analogous
#688BDC #7F68DC #B968DC
triadic
#7F68DC #DC7F68 #68DC7F
tetradic
#7F68DC #DC688B #C5DC68 #68DCB9
square
#7F68DC #DC688B #C5DC68 #68DCB9
split-complementary
#7F68DC #DCB968 #8BDC68
monochromatic
#3F26A4 #5536D0 #7F68DC #A99AE8 #D3CBF3

Accessibility & contrast

On white

4.27
#7F68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7F68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68DC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68DC#FFFFFF#000000##000000
##7F68DC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#3478D9
Tritanopia (blue-blind)
#648198
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f68dc;
/* rgb */ color: rgb(127, 104, 220);
/* oklch */ color: oklch(59.6% 0.170 289.3);
Tailwind
colors: {
  custom: {
    50: '#a993e7',
    500: '#7f68dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f68dc;
$custom-light: #a993e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68dc",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 251.897,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.17027,
    "h": 289.3
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#7F68DC
secondary
#DCE4BB
accent
#CA1BA7
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7F68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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