#7652BA#7652BA

#7652BA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.158 H 296.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7652BA
RGBrgb(118, 82, 186)
HSLhsl(261, 43%, 53%)
HSVhsv(261, 56%, 73%)
CMYKcmyk(36.6%, 55.9%, 0%, 27.1%)
CIE-LABlab(43.41, 38.08, -49.81)
CIE-LCHlch(43.41, 62.70, 307.39°)
OKLaboklab(52.81% 0.0707 -0.1412)
OKLCHoklch(52.81% 0.158 296.6)
XYZxyz(19.3492, 13.4310, 48.0179)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652BA #96BA52
analogous
#5262BA #7652BA #AA52BA
triadic
#7652BA #BA7652 #52BA76
tetradic
#7652BA #BA5262 #96BA52 #52BAAA
square
#7652BA #BA5262 #96BA52 #52BAAA
split-complementary
#7652BA #BAAA52 #62BA52
monochromatic
#3F2A68 #5A3B94 #7652BA #997ECB #BBAADD

Accessibility & contrast

On white

5.70
#7652BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7652BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652BA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652BA#FFFFFF#000000##FFFFFF
##7652BA1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#2E65B8
Tritanopia (blue-blind)
#66677E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7652ba;
/* rgb */ color: rgb(118, 82, 186);
/* oklch */ color: oklch(52.8% 0.158 296.6);
Tailwind
colors: {
  custom: {
    50: '#a184cf',
    500: '#7652ba',
    950: '#000000',
  },
}
SCSS
$custom: #7652ba;
$custom-light: #a184cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7652ba",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 260.769,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52806,
    "c": 0.15791,
    "h": 296.6
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#7652BA
secondary
#BBCA9D
accent
#D355A7
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7652BA

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

Preview Lab → · Contrast checker → · Palette generator →

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