#6835B8#6835B8

#6835B8 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.193 H 295.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6835B8
RGBrgb(104, 53, 184)
HSLhsl(263, 55%, 46%)
HSVhsv(263, 71%, 72%)
CMYKcmyk(43.5%, 71.2%, 0%, 27.8%)
CIE-LABlab(35.89, 50.29, -60.87)
CIE-LCHlch(35.89, 78.96, 309.56°)
OKLaboklab(46.96% 0.0843 -0.1741)
OKLCHoklch(46.96% 0.193 295.8)
XYZxyz(15.6315, 8.9496, 46.2420)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835B8 #85B835
analogous
#3544B8 #6835B8 #AA35B8
triadic
#6835B8 #B86835 #35B868
tetradic
#6835B8 #B83544 #85B835 #35B8AA
square
#6835B8 #B83544 #85B835 #35B8AA
split-complementary
#6835B8 #B8AA35 #44B835
monochromatic
#321A59 #4D2788 #6835B8 #885BD0 #AA8ADD

Accessibility & contrast

On white

7.53
#6835B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6835B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835B8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835B8#FFFFFF#000000##FFFFFF
##6835B81.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#525673
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6835b8;
/* rgb */ color: rgb(104, 53, 184);
/* oklch */ color: oklch(47.0% 0.193 295.8);
Tailwind
colors: {
  custom: {
    50: '#9a71ce',
    500: '#6835b8',
    950: '#000000',
  },
}
SCSS
$custom: #6835b8;
$custom-light: #9a71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6835b8",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 263.359,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46961,
    "c": 0.19346,
    "h": 295.8
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#6835B8
secondary
#ACC781
accent
#DF49A4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6835B8

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

Preview Lab → · Contrast checker → · Palette generator →

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