#7652C8#7652C8

#7652C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.176 H 293.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7652C8
RGBrgb(118, 82, 200)
HSLhsl(258, 52%, 55%)
HSVhsv(258, 59%, 78%)
CMYKcmyk(41%, 59%, 0%, 21.6%)
CIE-LABlab(44.31, 41.88, -56.49)
CIE-LCHlch(44.31, 70.31, 306.55°)
OKLaboklab(53.76% 0.0706 -0.1608)
OKLCHoklch(53.76% 0.176 293.7)
XYZxyz(20.9110, 14.0557, 56.2437)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652C8 #A4C852
analogous
#5269C8 #7652C8 #B152C8
triadic
#7652C8 #C87652 #52C876
tetradic
#7652C8 #C85269 #A4C852 #52C8B1
square
#7652C8 #C85269 #A4C852 #52C8B1
split-complementary
#7652C8 #C8B152 #69C852
monochromatic
#402779 #5835A8 #7652C8 #9B80D7 #C0AFE6

Accessibility & contrast

On white

5.51
#7652C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7652C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652C8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652C8#FFFFFF#000000##FFFFFF
##7652C81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#1567C5
Tritanopia (blue-blind)
#606C85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7652c8;
/* rgb */ color: rgb(118, 82, 200);
/* oklch */ color: oklch(53.8% 0.176 293.7);
Tailwind
colors: {
  custom: {
    50: '#a384d9',
    500: '#7652c8',
    950: '#000000',
  },
}
SCSS
$custom: #7652c8;
$custom-light: #a384d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7652c8",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 258.305,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.17566,
    "h": 293.7
  },
  "luminance": 0.14056
}

Semantic roles & 50–950 ramp

primary
#7652C8
secondary
#C5D4A2
accent
#DB4DB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7652C8

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

Preview Lab → · Contrast checker → · Palette generator →

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