#7752BE#7752BE

#7752BE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.2% C 0.163 H 296.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7752BE
RGBrgb(119, 82, 190)
HSLhsl(261, 45%, 53%)
HSVhsv(261, 57%, 75%)
CMYKcmyk(37.4%, 56.8%, 0%, 25.5%)
CIE-LABlab(43.76, 39.39, -51.57)
CIE-LCHlch(43.76, 64.89, 307.38°)
OKLaboklab(53.17% 0.072 -0.1463)
OKLCHoklch(53.17% 0.163 296.2)
XYZxyz(19.9169, 13.6739, 50.2952)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752BE #99BE52
analogous
#5263BE #7752BE #AD52BE
triadic
#7752BE #BE7752 #52BE77
tetradic
#7752BE #BE5263 #99BE52 #52BEAD
square
#7752BE #BE5263 #99BE52 #52BEAD
split-complementary
#7752BE #BEAD52 #63BE52
monochromatic
#40296D #5A3A99 #7752BE #9A7ECF #BDABDF

Accessibility & contrast

On white

5.62
#7752BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7752BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752BE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752BE#FFFFFF#000000##FFFFFF
##7752BE1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C2
Deuteranopia (green-blind)
#2A66BC
Tritanopia (blue-blind)
#666980
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7752be;
/* rgb */ color: rgb(119, 82, 190);
/* oklch */ color: oklch(53.2% 0.163 296.2);
Tailwind
colors: {
  custom: {
    50: '#a284d2',
    500: '#7752be',
    950: '#000000',
  },
}
SCSS
$custom: #7752be;
$custom-light: #a284d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7752be",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 260.556,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.16312,
    "h": 296.2
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#7752BE
secondary
#BDCD9F
accent
#D553A8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7752BE

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

Preview Lab → · Contrast checker → · Palette generator →

#7752BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva