#7A65CE#7A65CE

#7A65CE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.7% C 0.156 H 289.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7A65CE
RGBrgb(122, 101, 206)
HSLhsl(252, 52%, 60%)
HSVhsv(252, 51%, 81%)
CMYKcmyk(40.8%, 51%, 0%, 19.2%)
CIE-LABlab(49.38, 33.44, -51.78)
CIE-LCHlch(49.38, 61.64, 302.85°)
OKLaboklab(57.72% 0.0529 -0.1469)
OKLCHoklch(57.72% 0.156 289.8)
XYZxyz(23.8172, 17.9004, 60.5808)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A65CE #B9CE65
analogous
#6584CE #7A65CE #AE65CE
triadic
#7A65CE #CE7A65 #65CE7A
tetradic
#7A65CE #CE6584 #B9CE65 #65CEAE
square
#7A65CE #CE6584 #B9CE65 #65CEAE
split-complementary
#7A65CE #CEAE65 #84CE65
monochromatic
#402D8C #553BBA #7A65CE #A293DD #CAC2EC

Accessibility & contrast

On white

4.58
#7A65CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7A65CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A65CE
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A65CE#FFFFFF#000000##000000
##7A65CE1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D2
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#637B90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a65ce;
/* rgb */ color: rgb(122, 101, 206);
/* oklch */ color: oklch(57.7% 0.156 289.8);
Tailwind
colors: {
  custom: {
    50: '#a591dd',
    500: '#7a65ce',
    950: '#000000',
  },
}
SCSS
$custom: #7a65ce;
$custom-light: #a591dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a65ce",
  "rgb": {
    "r": 122,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 252,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57719,
    "c": 0.1561,
    "h": 289.8
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#7A65CE
secondary
#D3DCB3
accent
#BF26A1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7A65CE

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

Preview Lab → · Contrast checker → · Palette generator →

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