#7E65BB#7E65BB

#7E65BB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 56.9% C 0.131 H 295.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7E65BB
RGBrgb(126, 101, 187)
HSLhsl(257, 39%, 56%)
HSVhsv(257, 46%, 73%)
CMYKcmyk(32.6%, 46%, 0%, 26.7%)
CIE-LABlab(48.67, 29.27, -41.94)
CIE-LCHlch(48.67, 51.15, 304.91°)
OKLaboklab(56.94% 0.0559 -0.118)
OKLCHoklch(56.94% 0.131 295.3)
XYZxyz(22.2253, 17.3305, 49.1782)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E65BB #A2BB65
analogous
#6577BB #7E65BB #A965BB
triadic
#7E65BB #BB7E65 #65BB7E
tetradic
#7E65BB #BB6577 #A2BB65 #65BBA9
square
#7E65BB #BB6577 #A2BB65 #65BBA9
split-complementary
#7E65BB #BBA965 #77BB65
monochromatic
#453373 #5F459D #7E65BB #A28FCE #C5BAE0

Accessibility & contrast

On white

4.70
#7E65BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E65BB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E65BB#FFFFFF#000000##FFFFFF
##7E65BB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e65bb;
/* rgb */ color: rgb(126, 101, 187);
/* oklch */ color: oklch(56.9% 0.131 295.3);
Tailwind
colors: {
  custom: {
    50: '#a691d0',
    500: '#7e65bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e65bb;
$custom-light: #a691d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e65bb",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 257.442,
    "s": 38.739,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.13052,
    "h": 295.3
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#7E65BB
secondary
#C5D0AC
accent
#CF59AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100D14
muted
#7F7D82

Preview Lab

Preview with #7E65BB

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

Preview Lab → · Contrast checker → · Palette generator →

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