#7652BE#7652BE

#7652BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.163 H 295.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7652BE
RGBrgb(118, 82, 190)
HSLhsl(260, 45%, 53%)
HSVhsv(260, 57%, 75%)
CMYKcmyk(37.9%, 56.8%, 0%, 25.5%)
CIE-LABlab(43.66, 39.15, -51.74)
CIE-LCHlch(43.66, 64.88, 307.12°)
OKLaboklab(53.07% 0.0707 -0.1469)
OKLCHoklch(53.07% 0.163 295.7)
XYZxyz(19.7804, 13.6035, 50.2888)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652BE #9ABE52
analogous
#5264BE #7652BE #AC52BE
triadic
#7652BE #BE7652 #52BE76
tetradic
#7652BE #BE5264 #9ABE52 #52BEAC
square
#7652BE #BE5264 #9ABE52 #52BEAC
split-complementary
#7652BE #BEAC52 #64BE52
monochromatic
#3F296D #593A99 #7652BE #997ECF #BCABDF

Accessibility & contrast

On white

5.64
#7652BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7652BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652BE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652BE#FFFFFF#000000##FFFFFF
##7652BE1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#656980
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7652be;
/* rgb */ color: rgb(118, 82, 190);
/* oklch */ color: oklch(53.1% 0.163 295.7);
Tailwind
colors: {
  custom: {
    50: '#a284d2',
    500: '#7652be',
    950: '#000000',
  },
}
SCSS
$custom: #7652be;
$custom-light: #a284d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7652be",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 260,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53074,
    "c": 0.16302,
    "h": 295.7
  },
  "luminance": 0.13604
}

Semantic roles & 50–950 ramp

primary
#7652BE
secondary
#BECD9F
accent
#D553AA
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7652BE

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

Preview Lab → · Contrast checker → · Palette generator →

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