#7552F2#7552F2

#7552F2 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.227 H 286.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7552F2
RGBrgb(117, 82, 242)
HSLhsl(253, 86%, 64%)
HSVhsv(253, 66%, 95%)
CMYKcmyk(51.7%, 66.1%, 0%, 5.1%)
CIE-LABlab(47.27, 53.42, -75.59)
CIE-LCHlch(47.27, 92.56, 305.25°)
OKLaboklab(56.85% 0.0657 -0.217)
OKLCHoklch(56.85% 0.227 286.8)
XYZxyz(26.3757, 16.2260, 85.7293)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7552F2 #CFF252
analogous
#527FF2 #7552F2 #C552F2
triadic
#7552F2 #F27552 #52F275
tetradic
#7552F2 #F2527F #CFF252 #52F2C5
square
#7552F2 #F2527F #CFF252 #52F2C5
split-complementary
#7552F2 #F2C552 #7FF252
monochromatic
#340EBC #4819EE #7552F2 #A28BF6 #D0C4FB

Accessibility & contrast

On white

4.95
#7552F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7552F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7552F2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7552F2#FFFFFF#000000##FFFFFF
##7552F21.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#447A9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7552f2;
/* rgb */ color: rgb(117, 82, 242);
/* oklch */ color: oklch(56.8% 0.227 286.8);
Tailwind
colors: {
  custom: {
    50: '#a785f7',
    500: '#7552f2',
    950: '#000000',
  },
}
SCSS
$custom: #7552f2;
$custom-light: #a785f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7552f2",
  "rgb": {
    "r": 117,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 253.125,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.22678,
    "h": 286.8
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#7552F2
secondary
#E0ECB4
accent
#E303B2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7552F2

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

Preview Lab → · Contrast checker → · Palette generator →

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