#7F68BF#7F68BF

#7F68BF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 57.8% C 0.131 H 294.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7F68BF
RGBrgb(127, 104, 191)
HSLhsl(256, 40%, 58%)
HSVhsv(256, 46%, 75%)
CMYKcmyk(33.5%, 45.5%, 0%, 25.1%)
CIE-LABlab(49.71, 28.83, -42.61)
CIE-LCHlch(49.71, 51.45, 304.08°)
OKLaboklab(57.8% 0.0536 -0.1199)
OKLCHoklch(57.8% 0.131 294.1)
XYZxyz(23.1043, 18.1738, 51.5707)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68BF #A8BF68
analogous
#687CBF #7F68BF #AA68BF
triadic
#7F68BF #BF7F68 #68BF7F
tetradic
#7F68BF #BF687C #A8BF68 #68BFAA
square
#7F68BF #BF687C #A8BF68 #68BFAA
split-complementary
#7F68BF #BFAA68 #7CBF68
monochromatic
#463379 #5F46A4 #7F68BF #A393D1 #C8BEE3

Accessibility & contrast

On white

4.53
#7F68BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7F68BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68BF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68BF#FFFFFF#000000##000000
##7F68BF1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#4F75BD
Tritanopia (blue-blind)
#70788A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f68bf;
/* rgb */ color: rgb(127, 104, 191);
/* oklch */ color: oklch(57.8% 0.131 294.1);
Tailwind
colors: {
  custom: {
    50: '#a793d3',
    500: '#7f68bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f68bf;
$custom-light: #a793d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68bf",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 255.862,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.13132,
    "h": 294.1
  },
  "luminance": 0.18174
}

Semantic roles & 50–950 ramp

primary
#7F68BF
secondary
#CAD3B0
accent
#D057B0
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7F68BF

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

Preview Lab → · Contrast checker → · Palette generator →

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