#7552D8#7552D8

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

Color values

HEX#7552D8
RGBrgb(117, 82, 216)
HSLhsl(256, 63%, 58%)
HSVhsv(256, 62%, 85%)
CMYKcmyk(45.8%, 62%, 0%, 15.3%)
CIE-LABlab(45.32, 46.10, -64.05)
CIE-LCHlch(45.32, 78.91, 305.74°)
OKLaboklab(54.83% 0.0685 -0.1831)
OKLCHoklch(54.83% 0.196 290.5)
XYZxyz(22.7446, 14.7735, 66.6056)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7552D8 #B5D852
analogous
#5272D8 #7552D8 #B852D8
triadic
#7552D8 #D87552 #52D875
tetradic
#7552D8 #D85272 #B5D852 #52D8B8
square
#7552D8 #D85272 #B5D852 #52D8B8
split-complementary
#7552D8 #D8B852 #72D852
monochromatic
#3D208F #532CC1 #7552D8 #9D84E3 #C5B6EF

Accessibility & contrast

On white

5.31
#7552D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7552D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7552D8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7552D8#FFFFFF#000000##FFFFFF
##7552D81.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#56718D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7552d8;
/* rgb */ color: rgb(117, 82, 216);
/* oklch */ color: oklch(54.8% 0.196 290.5);
Tailwind
colors: {
  custom: {
    50: '#a484e5',
    500: '#7552d8',
    950: '#000000',
  },
}
SCSS
$custom: #7552d8;
$custom-light: #a484e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7552d8",
  "rgb": {
    "r": 117,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 255.672,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.1955,
    "h": 290.5
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#7552D8
secondary
#D0DDA8
accent
#E642BB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7552D8

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

Preview Lab → · Contrast checker → · Palette generator →

#7552D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva