#7E65CD#7E65CD

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

Color values

HEX#7E65CD
RGBrgb(126, 101, 205)
HSLhsl(254, 51%, 60%)
HSVhsv(254, 51%, 80%)
CMYKcmyk(38.5%, 50.7%, 0%, 19.6%)
CIE-LABlab(49.68, 34.14, -50.70)
CIE-LCHlch(49.68, 61.12, 303.95°)
OKLaboklab(58.01% 0.0578 -0.1436)
OKLCHoklch(58.01% 0.155 291.9)
XYZxyz(24.2744, 18.1501, 59.9701)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65CD #B4CD65
analogous
#6580CD #7E65CD #B265CD
triadic
#7E65CD #CD7E65 #65CD7E
tetradic
#7E65CD #CD6580 #B4CD65 #65CDB2
square
#7E65CD #CD6580 #B4CD65 #65CDB2
split-complementary
#7E65CD #CDB265 #80CD65
monochromatic
#442D8B #5A3CB9 #7E65CD #A593DC #CBC1EB

Accessibility & contrast

On white

4.54
#7E65CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E65CD#FFFFFF#000000##000000
##7E65CD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#6A7A8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e65cd;
/* rgb */ color: rgb(126, 101, 205);
/* oklch */ color: oklch(58.0% 0.155 291.9);
Tailwind
colors: {
  custom: {
    50: '#a791dd',
    500: '#7e65cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e65cd;
$custom-light: #a791dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65cd",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 254.423,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.58013,
    "c": 0.15479,
    "h": 291.9
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#7E65CD
secondary
#D1DBB3
accent
#DA4DB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7E65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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