#6835CA#6835CA

#6835CA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.214 H 292.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6835CA
RGBrgb(104, 53, 202)
HSLhsl(261, 58%, 50%)
HSVhsv(261, 74%, 79%)
CMYKcmyk(48.5%, 73.8%, 0%, 20.8%)
CIE-LABlab(37.40, 55.05, -68.96)
CIE-LCHlch(37.40, 88.24, 308.60°)
OKLaboklab(48.49% 0.0803 -0.1979)
OKLCHoklch(48.49% 0.214 292.1)
XYZxyz(17.6397, 9.7529, 56.8187)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835CA #97CA35
analogous
#354DCA #6835CA #B235CA
triadic
#6835CA #CA6835 #35CA68
tetradic
#6835CA #CA354D #97CA35 #35CAB2
square
#6835CA #CA354D #97CA35 #35CAB2
split-complementary
#6835CA #CAB235 #4DCA35
monochromatic
#361C69 #4F289A #6835CA #8C65D7 #B096E3

Accessibility & contrast

On white

7.12
#6835CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6835CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835CA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835CA#FFFFFF#000000##FFFFFF
##6835CA1.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)
#005ACE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#485D7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6835ca;
/* rgb */ color: rgb(104, 53, 202);
/* oklch */ color: oklch(48.5% 0.214 292.1);
Tailwind
colors: {
  custom: {
    50: '#9c71db',
    500: '#6835ca',
    950: '#000000',
  },
}
SCSS
$custom: #6835ca;
$custom-light: #9c71db;
$custom-dark: #000000;
JSON
{
  "hex": "#6835ca",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 260.537,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.21356,
    "h": 292.1
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#6835CA
secondary
#B8CF8C
accent
#E246AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6835CA

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

Preview Lab → · Contrast checker → · Palette generator →

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