#7E65BC#7E65BC

#7E65BC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.0% C 0.132 H 295.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E65BC
RGBrgb(126, 101, 188)
HSLhsl(257, 39%, 57%)
HSVhsv(257, 46%, 74%)
CMYKcmyk(33%, 46.3%, 0%, 26.3%)
CIE-LABlab(48.73, 29.54, -42.44)
CIE-LCHlch(48.73, 51.71, 304.84°)
OKLaboklab(56.99% 0.056 -0.1194)
OKLCHoklch(56.99% 0.132 295.1)
XYZxyz(22.3327, 17.3735, 49.7440)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65BC #A3BC65
analogous
#6578BC #7E65BC #AA65BC
triadic
#7E65BC #BC7E65 #65BC7E
tetradic
#7E65BC #BC6578 #A3BC65 #65BCAA
square
#7E65BC #BC6578 #A3BC65 #65BCAA
split-complementary
#7E65BC #BCAA65 #78BC65
monochromatic
#453374 #5F459F #7E65BC #A290CF #C5BAE1

Accessibility & contrast

On white

4.69
#7E65BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7E65BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E65BC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65BC#FFFFFF#000000##FFFFFF
##7E65BC1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BF
Deuteranopia (green-blind)
#4D72BA
Tritanopia (blue-blind)
#707587
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e65bc;
/* rgb */ color: rgb(126, 101, 188);
/* oklch */ color: oklch(57.0% 0.132 295.1);
Tailwind
colors: {
  custom: {
    50: '#a691d0',
    500: '#7e65bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e65bc;
$custom-light: #a691d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65bc",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 257.241,
    "s": 39.367,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.13188,
    "h": 295.1
  },
  "luminance": 0.17374
}

Semantic roles & 50–950 ramp

primary
#7E65BC
secondary
#C6D0AD
accent
#CF59AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100D14
muted
#7F7D82

Preview Lab

Preview with #7E65BC

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

Preview Lab → · Contrast checker → · Palette generator →

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