#7523D4#7523D4

#7523D4 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 49.1% C 0.241 H 297.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7523D4
RGBrgb(117, 35, 212)
HSLhsl(268, 72%, 48%)
HSVhsv(268, 83%, 83%)
CMYKcmyk(44.8%, 83.5%, 0%, 16.9%)
CIE-LABlab(37.37, 66.46, -74.74)
CIE-LCHlch(37.37, 100.02, 311.64°)
OKLaboklab(49.09% 0.1094 -0.2143)
OKLCHoklch(49.09% 0.241 297)
XYZxyz(19.8177, 9.7370, 63.1099)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7523D4 #82D423
analogous
#2329D4 #7523D4 #CD23D4
triadic
#7523D4 #D47523 #23D475
tetradic
#7523D4 #D42329 #82D423 #23D4CD
square
#7523D4 #D42329 #82D423 #23D4CD
split-complementary
#7523D4 #D4CD23 #29D423
monochromatic
#3B126B #581A9F #7523D4 #9552E2 #B586EB

Accessibility & contrast

On white

7.12
#7523D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7523D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7523D4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7523D4#FFFFFF#000000##FFFFFF
##7523D41.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D9
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#5B597F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7523d4;
/* rgb */ color: rgb(117, 35, 212);
/* oklch */ color: oklch(49.1% 0.241 297.0);
Tailwind
colors: {
  custom: {
    50: '#a66be3',
    500: '#7523d4',
    950: '#000000',
  },
}
SCSS
$custom: #7523d4;
$custom-light: #a66be3;
$custom-dark: #000000;
JSON
{
  "hex": "#7523d4",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 267.797,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.24056,
    "h": 297
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#7523D4
secondary
#ADD47E
accent
#EE399B
background
#FAF6FE
surface
#F5ECFC
border
#CFC7D5
text
#110716
muted
#807A84

Preview Lab

Preview with #7523D4

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

Preview Lab → · Contrast checker → · Palette generator →

#7523D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva