#6835C4#6835C4

#6835C4 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.207 H 293.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6835C4
RGBrgb(104, 53, 196)
HSLhsl(261, 57%, 49%)
HSVhsv(261, 73%, 77%)
CMYKcmyk(46.9%, 73%, 0%, 23.1%)
CIE-LABlab(36.88, 53.46, -66.30)
CIE-LCHlch(36.88, 85.17, 308.88°)
OKLaboklab(47.97% 0.0817 -0.1901)
OKLCHoklch(47.97% 0.207 293.3)
XYZxyz(16.9431, 9.4742, 53.1499)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835C4 #91C435
analogous
#3549C4 #6835C4 #B035C4
triadic
#6835C4 #C46835 #35C468
tetradic
#6835C4 #C43549 #91C435 #35C4B0
square
#6835C4 #C43549 #91C435 #35C4B0
split-complementary
#6835C4 #C4B035 #49C435
monochromatic
#351B64 #4E2894 #6835C4 #8B62D4 #AE92E1

Accessibility & contrast

On white

7.25
#6835C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6835C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835C4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835C4#FFFFFF#000000##FFFFFF
##6835C41.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#4C5B7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6835c4;
/* rgb */ color: rgb(104, 53, 196);
/* oklch */ color: oklch(48.0% 0.207 293.3);
Tailwind
colors: {
  custom: {
    50: '#9b71d7',
    500: '#6835c4',
    950: '#000000',
  },
}
SCSS
$custom: #6835c4;
$custom-light: #9b71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6835c4",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 261.399,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.2069,
    "h": 293.3
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#6835C4
secondary
#B4CC88
accent
#E147AA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6835C4

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

Preview Lab → · Contrast checker → · Palette generator →

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