#7527B3#7527B3

#7527B3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.205 H 304.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7527B3
RGBrgb(117, 39, 179)
HSLhsl(273, 64%, 43%)
HSVhsv(273, 78%, 70%)
CMYKcmyk(34.6%, 78.2%, 0%, 29.8%)
CIE-LABlab(34.98, 57.47, -59.32)
CIE-LCHlch(34.98, 82.59, 314.09°)
OKLaboklab(46.56% 0.1167 -0.169)
OKLCHoklch(46.56% 0.205 304.6)
XYZxyz(16.1965, 8.4877, 43.4241)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527B3 #65B327
analogous
#2F27B3 #7527B3 #B327AB
triadic
#7527B3 #B37527 #27B375
tetradic
#7527B3 #B32F27 #65B327 #27ABB3
square
#7527B3 #B32F27 #65B327 #27ABB3
split-complementary
#7527B3 #ABB327 #27B32F
monochromatic
#33114E #541C81 #7527B3 #9441D6 #B074E1

Accessibility & contrast

On white

7.78
#7527B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7527B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527B3
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527B3#FFFFFF#000000##FFFFFF
##7527B31.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#694C6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7527b3;
/* rgb */ color: rgb(117, 39, 179);
/* oklch */ color: oklch(46.6% 0.205 304.6);
Tailwind
colors: {
  custom: {
    50: '#a36acb',
    500: '#7527b3',
    950: '#000000',
  },
}
SCSS
$custom: #7527b3;
$custom-light: #a36acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7527b3",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 273.429,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.20542,
    "h": 304.6
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#7527B3
secondary
#96C86E
accent
#E7418A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7527B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7527B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva