#7E65DD#7E65DD

#7E65DD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.0% C 0.176 H 289.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7E65DD
RGBrgb(126, 101, 221)
HSLhsl(253, 64%, 63%)
HSVhsv(253, 54%, 87%)
CMYKcmyk(43%, 54.3%, 0%, 13.3%)
CIE-LABlab(50.64, 38.59, -58.26)
CIE-LCHlch(50.64, 69.88, 303.52°)
OKLaboklab(59.04% 0.0587 -0.1658)
OKLCHoklch(59.04% 0.176 289.5)
XYZxyz(26.3054, 18.9625, 70.6667)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65DD #C4DD65
analogous
#6588DD #7E65DD #BA65DD
triadic
#7E65DD #DD7E65 #65DD7E
tetradic
#7E65DD #DD6588 #C4DD65 #65DDBA
square
#7E65DD #DD6588 #C4DD65 #65DDBA
split-complementary
#7E65DD #DDBA65 #88DD65
monochromatic
#3F24A4 #5433D2 #7E65DD #A897E8 #D2C9F3

Accessibility & contrast

On white

4.38
#7E65DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7E65DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E65DD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65DD#FFFFFF#000000##000000
##7E65DD1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#277BE1
Deuteranopia (green-blind)
#2B76DA
Tritanopia (blue-blind)
#627F97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e65dd;
/* rgb */ color: rgb(126, 101, 221);
/* oklch */ color: oklch(59.0% 0.176 289.5);
Tailwind
colors: {
  custom: {
    50: '#a991e8',
    500: '#7e65dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e65dd;
$custom-light: #a991e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65dd",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 252.5,
    "s": 63.83,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59042,
    "c": 0.17584,
    "h": 289.5
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#7E65DD
secondary
#DBE4B9
accent
#CC1AA7
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E65DD

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

Preview Lab → · Contrast checker → · Palette generator →

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