#7551F2#7551F2

#7551F2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.228 H 287.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7551F2
RGBrgb(117, 81, 242)
HSLhsl(253, 86%, 63%)
HSVhsv(253, 67%, 95%)
CMYKcmyk(51.7%, 66.5%, 0%, 5.1%)
CIE-LABlab(47.07, 53.95, -75.91)
CIE-LCHlch(47.07, 93.13, 305.40°)
OKLaboklab(56.71% 0.0666 -0.218)
OKLCHoklch(56.71% 0.228 287)
XYZxyz(26.3008, 16.0763, 85.7044)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7551F2 #CEF251
analogous
#517DF2 #7551F2 #C551F2
triadic
#7551F2 #F27551 #51F275
tetradic
#7551F2 #F2517D #CEF251 #51F2C5
square
#7551F2 #F2517D #CEF251 #51F2C5
split-complementary
#7551F2 #F2C551 #7DF251
monochromatic
#350EBB #4818EE #7551F2 #A28AF6 #CFC3FB

Accessibility & contrast

On white

4.98
#7551F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7551F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7551F2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7551F2#FFFFFF#000000##FFFFFF
##7551F21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7551f2;
/* rgb */ color: rgb(117, 81, 242);
/* oklch */ color: oklch(56.7% 0.228 287.0);
Tailwind
colors: {
  custom: {
    50: '#a784f7',
    500: '#7551f2',
    950: '#000000',
  },
}
SCSS
$custom: #7551f2;
$custom-light: #a784f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7551f2",
  "rgb": {
    "r": 117,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 253.416,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.22793,
    "h": 287
  },
  "luminance": 0.16078
}

Semantic roles & 50–950 ramp

primary
#7551F2
secondary
#DFECB3
accent
#E303B1
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7551F2

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

Preview Lab → · Contrast checker → · Palette generator →

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