#6523D4#6523D4

#6523D4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.3% C 0.240 H 290.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6523D4
RGBrgb(101, 35, 212)
HSLhsl(262, 72%, 48%)
HSVhsv(262, 83%, 83%)
CMYKcmyk(52.4%, 83.5%, 0%, 16.9%)
CIE-LABlab(35.44, 64.59, -77.98)
CIE-LCHlch(35.44, 101.25, 309.63°)
OKLaboklab(47.34% 0.0851 -0.2242)
OKLCHoklch(47.34% 0.24 290.8)
XYZxyz(17.8481, 8.7215, 63.0176)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6523D4 #92D423
analogous
#2339D4 #6523D4 #BD23D4
triadic
#6523D4 #D46523 #23D465
tetradic
#6523D4 #D42339 #92D423 #23D4BD
square
#6523D4 #D42339 #92D423 #23D4BD
split-complementary
#6523D4 #D4BD23 #39D423
monochromatic
#33126B #4C1A9F #6523D4 #8852E2 #AC86EB

Accessibility & contrast

On white

7.65
#6523D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6523D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6523D4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6523D4#FFFFFF#000000##FFFFFF
##6523D41.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#004FD1
Tritanopia (blue-blind)
#3B5A7F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6523d4;
/* rgb */ color: rgb(101, 35, 212);
/* oklch */ color: oklch(47.3% 0.240 290.8);
Tailwind
colors: {
  custom: {
    50: '#9d69e3',
    500: '#6523d4',
    950: '#000000',
  },
}
SCSS
$custom: #6523d4;
$custom-light: #9d69e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6523d4",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 262.373,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4734,
    "c": 0.2398,
    "h": 290.8
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#6523D4
secondary
#B4D47E
accent
#EE39AB
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6523D4

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

Preview Lab → · Contrast checker → · Palette generator →

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