#7B65E4#7B65E4

#7B65E4 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.185 H 287.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7B65E4
RGBrgb(123, 101, 228)
HSLhsl(250, 70%, 65%)
HSVhsv(250, 56%, 89%)
CMYKcmyk(46.1%, 55.7%, 0%, 10.6%)
CIE-LABlab(50.83, 39.92, -61.93)
CIE-LCHlch(50.83, 73.68, 302.80°)
OKLaboklab(59.26% 0.0551 -0.1767)
OKLCHoklch(59.26% 0.185 287.3)
XYZxyz(26.8216, 19.1186, 75.6608)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B65E4 #CEE465
analogous
#658EE4 #7B65E4 #BB65E4
triadic
#7B65E4 #E47B65 #65E47B
tetradic
#7B65E4 #E4658E #CEE465 #65E4BB
square
#7B65E4 #E4658E #CEE465 #65E4BB
split-complementary
#7B65E4 #E4BB65 #8EE465
monochromatic
#381FB0 #4E31DB #7B65E4 #A899ED #D4CDF6

Accessibility & contrast

On white

4.35
#7B65E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7B65E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B65E4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B65E4#FFFFFF#000000##000000
##7B65E41.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#167CE8
Deuteranopia (green-blind)
#1676E1
Tritanopia (blue-blind)
#59819B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b65e4;
/* rgb */ color: rgb(123, 101, 228);
/* oklch */ color: oklch(59.3% 0.185 287.3);
Tailwind
colors: {
  custom: {
    50: '#a891ed',
    500: '#7b65e4',
    950: '#000000',
  },
}
SCSS
$custom: #7b65e4;
$custom-light: #a891ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b65e4",
  "rgb": {
    "r": 123,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 250.394,
    "s": 70.166,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59256,
    "c": 0.18504,
    "h": 287.3
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#7B65E4
secondary
#E1E8BC
accent
#D213B1
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7B65E4

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

Preview Lab → · Contrast checker → · Palette generator →

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