#7E65CF#7E65CF

#7E65CF is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.1% C 0.157 H 291.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7E65CF
RGBrgb(126, 101, 207)
HSLhsl(254, 52%, 60%)
HSVhsv(254, 51%, 81%)
CMYKcmyk(39.1%, 51.2%, 0%, 18.8%)
CIE-LABlab(49.79, 34.69, -51.66)
CIE-LCHlch(49.79, 62.22, 303.88°)
OKLaboklab(58.14% 0.058 -0.1464)
OKLCHoklch(58.14% 0.157 291.6)
XYZxyz(24.5173, 18.2473, 61.2497)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65CF #B6CF65
analogous
#6581CF #7E65CF #B365CF
triadic
#7E65CF #CF7E65 #65CF7E
tetradic
#7E65CF #CF6581 #B6CF65 #65CFB3
square
#7E65CF #CF6581 #B6CF65 #65CFB3
split-complementary
#7E65CF #CFB365 #81CF65
monochromatic
#432C8D #593BBC #7E65CF #A594DE #CCC2EC

Accessibility & contrast

On white

4.52
#7E65CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7E65CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E65CF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65CF#FFFFFF#000000##000000
##7E65CF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#3D74CD
Tritanopia (blue-blind)
#697B90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e65cf;
/* rgb */ color: rgb(126, 101, 207);
/* oklch */ color: oklch(58.1% 0.157 291.6);
Tailwind
colors: {
  custom: {
    50: '#a791de',
    500: '#7e65cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e65cf;
$custom-light: #a791de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65cf",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 254.151,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.15746,
    "h": 291.6
  },
  "luminance": 0.18248
}

Semantic roles & 50–950 ramp

primary
#7E65CF
secondary
#D3DCB4
accent
#C0269C
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7E65CF

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

Preview Lab → · Contrast checker → · Palette generator →

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