#7652D7#7652D7

#7652D7 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.194 H 291.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7652D7
RGBrgb(118, 82, 215)
HSLhsl(256, 62%, 58%)
HSVhsv(256, 62%, 84%)
CMYKcmyk(45.1%, 61.9%, 0%, 15.7%)
CIE-LABlab(45.35, 46.02, -63.43)
CIE-LCHlch(45.35, 78.37, 305.96°)
OKLaboklab(54.85% 0.0699 -0.1813)
OKLCHoklch(54.85% 0.194 291.1)
XYZxyz(22.7508, 14.7917, 65.9332)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652D7 #B3D752
analogous
#5270D7 #7652D7 #B952D7
triadic
#7652D7 #D77652 #52D776
tetradic
#7652D7 #D75270 #B3D752 #52D7B9
square
#7652D7 #D75270 #B3D752 #52D7B9
split-complementary
#7652D7 #D7B952 #70D752
monochromatic
#3E218E #542CC0 #7652D7 #9D84E2 #C5B5EE

Accessibility & contrast

On white

5.31
#7652D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7652D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652D7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652D7#FFFFFF#000000##FFFFFF
##7652D71.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#59718D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7652d7;
/* rgb */ color: rgb(118, 82, 215);
/* oklch */ color: oklch(54.8% 0.194 291.1);
Tailwind
colors: {
  custom: {
    50: '#a484e4',
    500: '#7652d7',
    950: '#000000',
  },
}
SCSS
$custom: #7652d7;
$custom-light: #a484e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7652d7",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 256.241,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54847,
    "c": 0.19427,
    "h": 291.1
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#7652D7
secondary
#CFDDA8
accent
#E642B9
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7652D7

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

Preview Lab → · Contrast checker → · Palette generator →

#7652D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva