#7F68DA#7F68DA

#7F68DA is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.4% C 0.168 H 289.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7F68DA
RGBrgb(127, 104, 218)
HSLhsl(252, 61%, 63%)
HSVhsv(252, 52%, 85%)
CMYKcmyk(41.7%, 52.3%, 0%, 14.5%)
CIE-LABlab(51.24, 36.23, -55.60)
CIE-LCHlch(51.24, 66.36, 303.09°)
OKLaboklab(59.45% 0.0562 -0.1579)
OKLCHoklch(59.45% 0.168 289.6)
XYZxyz(26.3541, 19.4737, 68.6863)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68DA #C3DA68
analogous
#688ADA #7F68DA #B868DA
triadic
#7F68DA #DA7F68 #68DA7F
tetradic
#7F68DA #DA688A #C3DA68 #68DAB8
square
#7F68DA #DA688A #C3DA68 #68DAB8
split-complementary
#7F68DA #DAB868 #8ADA68
monochromatic
#4027A0 #5537CE #7F68DA #A999E6 #D2CAF2

Accessibility & contrast

On white

4.29
#7F68DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7F68DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68DA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68DA#FFFFFF#000000##000000
##7F68DA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#347CDE
Deuteranopia (green-blind)
#3677D7
Tritanopia (blue-blind)
#658097
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f68da;
/* rgb */ color: rgb(127, 104, 218);
/* oklch */ color: oklch(59.4% 0.168 289.6);
Tailwind
colors: {
  custom: {
    50: '#a993e6',
    500: '#7f68da',
    950: '#000000',
  },
}
SCSS
$custom: #7f68da;
$custom-light: #a993e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68da",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 252.105,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59446,
    "c": 0.16763,
    "h": 289.6
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#7F68DA
secondary
#DBE3BA
accent
#C81DA6
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7F68DA

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

Preview Lab → · Contrast checker → · Palette generator →

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