#7F65CE#7F65CE

#7F65CE is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.2% C 0.156 H 292.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F65CE
RGBrgb(127, 101, 206)
HSLhsl(255, 52%, 60%)
HSVhsv(255, 51%, 81%)
CMYKcmyk(38.3%, 51%, 0%, 19.2%)
CIE-LABlab(49.83, 34.66, -51.03)
CIE-LCHlch(49.83, 61.69, 304.18°)
OKLaboklab(58.17% 0.0591 -0.1445)
OKLCHoklch(58.17% 0.156 292.3)
XYZxyz(24.5437, 18.2750, 60.6148)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65CE #B4CE65
analogous
#6580CE #7F65CE #B365CE
triadic
#7F65CE #CE7F65 #65CE7F
tetradic
#7F65CE #CE6580 #B4CE65 #65CEB3
square
#7F65CE #CE6580 #B4CE65 #65CEB3
split-complementary
#7F65CE #CEB365 #80CE65
monochromatic
#442D8C #5B3BBA #7F65CE #A693DD #CCC2EC

Accessibility & contrast

On white

4.51
#7F65CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7F65CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65CE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65CE#FFFFFF#000000##000000
##7F65CE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#3F74CC
Tritanopia (blue-blind)
#6B7A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f65ce;
/* rgb */ color: rgb(127, 101, 206);
/* oklch */ color: oklch(58.2% 0.156 292.3);
Tailwind
colors: {
  custom: {
    50: '#a891dd',
    500: '#7f65ce',
    950: '#000000',
  },
}
SCSS
$custom: #7f65ce;
$custom-light: #a891dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65ce",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 254.857,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58166,
    "c": 0.15615,
    "h": 292.3
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#7F65CE
secondary
#D2DCB3
accent
#BF2699
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7F65CE

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

Preview Lab → · Contrast checker → · Palette generator →

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