#7F68DF#7F68DF

#7F68DF is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.8% C 0.174 H 288.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7F68DF
RGBrgb(127, 104, 223)
HSLhsl(252, 65%, 64%)
HSVhsv(252, 53%, 87%)
CMYKcmyk(43%, 53.4%, 0%, 12.5%)
CIE-LABlab(51.54, 37.63, -57.94)
CIE-LCHlch(51.54, 69.09, 303.00°)
OKLaboklab(59.77% 0.0565 -0.1648)
OKLCHoklch(59.77% 0.174 288.9)
XYZxyz(27.0182, 19.7394, 72.1842)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68DF #C8DF68
analogous
#688DDF #7F68DF #BB68DF
triadic
#7F68DF #DF7F68 #68DF7F
tetradic
#7F68DF #DF688D #C8DF68 #68DFBB
square
#7F68DF #DF688D #C8DF68 #68DFBB
split-complementary
#7F68DF #DFBB68 #8DDF68
monochromatic
#3D24A9 #5436D4 #7F68DF #AA9BEA #D5CDF4

Accessibility & contrast

On white

4.24
#7F68DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7F68DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68DF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68DF#FFFFFF#000000##000000
##7F68DF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE3
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#63819A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f68df;
/* rgb */ color: rgb(127, 104, 223);
/* oklch */ color: oklch(59.8% 0.174 288.9);
Tailwind
colors: {
  custom: {
    50: '#a993ea',
    500: '#7f68df',
    950: '#000000',
  },
}
SCSS
$custom: #7f68df;
$custom-light: #a993ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68df",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 251.597,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5977,
    "c": 0.1742,
    "h": 288.9
  },
  "luminance": 0.1974
}

Semantic roles & 50–950 ramp

primary
#7F68DF
secondary
#DEE6BD
accent
#CD19AA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7F68DF

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

Preview Lab → · Contrast checker → · Palette generator →

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