#6535CA#6535CA

#6535CA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.214 H 290.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6535CA
RGBrgb(101, 53, 202)
HSLhsl(259, 58%, 50%)
HSVhsv(259, 74%, 79%)
CMYKcmyk(50%, 73.8%, 0%, 20.8%)
CIE-LABlab(37.07, 54.59, -69.50)
CIE-LCHlch(37.07, 88.38, 308.15°)
OKLaboklab(48.19% 0.076 -0.1996)
OKLCHoklch(48.19% 0.214 290.8)
XYZxyz(17.2976, 9.5765, 56.8027)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535CA #9ACA35
analogous
#354FCA #6535CA #B035CA
triadic
#6535CA #CA6535 #35CA65
tetradic
#6535CA #CA354F #9ACA35 #35CAB0
square
#6535CA #CA354F #9ACA35 #35CAB0
split-complementary
#6535CA #CAB035 #4FCA35
monochromatic
#351C69 #4D289A #6535CA #8A65D7 #AF96E3

Accessibility & contrast

On white

7.20
#6535CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6535CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6535CA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6535CA#FFFFFF#000000##FFFFFF
##6535CA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#425D7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6535ca;
/* rgb */ color: rgb(101, 53, 202);
/* oklch */ color: oklch(48.2% 0.214 290.8);
Tailwind
colors: {
  custom: {
    50: '#9a71db',
    500: '#6535ca',
    950: '#000000',
  },
}
SCSS
$custom: #6535ca;
$custom-light: #9a71db;
$custom-dark: #000000;
JSON
{
  "hex": "#6535ca",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 259.329,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.48191,
    "c": 0.21353,
    "h": 290.8
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#6535CA
secondary
#B9CF8C
accent
#E246B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6535CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6535CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva