#7F68CD#7F68CD

#7F68CD is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.6% C 0.150 H 291.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7F68CD
RGBrgb(127, 104, 205)
HSLhsl(254, 50%, 61%)
HSVhsv(254, 49%, 80%)
CMYKcmyk(38%, 49.3%, 0%, 19.6%)
CIE-LABlab(50.48, 32.62, -49.42)
CIE-LCHlch(50.48, 59.22, 303.43°)
OKLaboklab(58.63% 0.0552 -0.1398)
OKLCHoklch(58.63% 0.15 291.6)
XYZxyz(24.7192, 18.8198, 60.0760)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68CD #B6CD68
analogous
#6883CD #7F68CD #B168CD
triadic
#7F68CD #CD7F68 #68CD7F
tetradic
#7F68CD #CD6883 #B6CD68 #68CDB1
square
#7F68CD #CD6883 #B6CD68 #68CDB1
split-complementary
#7F68CD #CDB168 #83CD68
monochromatic
#442E8C #5A3EBA #7F68CD #A696DC #CDC4EB

Accessibility & contrast

On white

4.41
#7F68CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7F68CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68CD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68CD#FFFFFF#000000##000000
##7F68CD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD1
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#6B7C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f68cd;
/* rgb */ color: rgb(127, 104, 205);
/* oklch */ color: oklch(58.6% 0.150 291.6);
Tailwind
colors: {
  custom: {
    50: '#a893dd',
    500: '#7f68cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f68cd;
$custom-light: #a893dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68cd",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 253.663,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.15032,
    "h": 291.6
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#7F68CD
secondary
#D3DCB5
accent
#BE289C
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7F68CD

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

Preview Lab → · Contrast checker → · Palette generator →

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