#7652BC#7652BC

#7652BC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.160 H 296.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7652BC
RGBrgb(118, 82, 188)
HSLhsl(260, 44%, 53%)
HSVhsv(260, 56%, 74%)
CMYKcmyk(37.2%, 56.4%, 0%, 26.3%)
CIE-LABlab(43.53, 38.61, -50.78)
CIE-LCHlch(43.53, 63.79, 307.25°)
OKLaboklab(52.94% 0.0707 -0.1441)
OKLCHoklch(52.94% 0.16 296.1)
XYZxyz(19.5633, 13.5166, 49.1455)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652BC #98BC52
analogous
#5263BC #7652BC #AB52BC
triadic
#7652BC #BC7652 #52BC76
tetradic
#7652BC #BC5263 #98BC52 #52BCAB
square
#7652BC #BC5263 #98BC52 #52BCAB
split-complementary
#7652BC #BCAB52 #63BC52
monochromatic
#3F296A #5A3A97 #7652BC #997ECD #BCAADE

Accessibility & contrast

On white

5.67
#7652BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7652BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652BC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652BC#FFFFFF#000000##FFFFFF
##7652BC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67C0
Deuteranopia (green-blind)
#2B65BA
Tritanopia (blue-blind)
#65687F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7652bc;
/* rgb */ color: rgb(118, 82, 188);
/* oklch */ color: oklch(52.9% 0.160 296.1);
Tailwind
colors: {
  custom: {
    50: '#a284d1',
    500: '#7652bc',
    950: '#000000',
  },
}
SCSS
$custom: #7652bc;
$custom-light: #a284d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7652bc",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 260.377,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5294,
    "c": 0.16047,
    "h": 296.1
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#7652BC
secondary
#BCCC9E
accent
#D454A8
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7652BC

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

Preview Lab → · Contrast checker → · Palette generator →

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