#6835D0#6835D0

#6835D0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.220 H 291.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6835D0
RGBrgb(104, 53, 208)
HSLhsl(260, 62%, 51%)
HSVhsv(260, 75%, 82%)
CMYKcmyk(50%, 74.5%, 0%, 18.4%)
CIE-LABlab(37.92, 56.65, -71.58)
CIE-LCHlch(37.92, 91.28, 308.36°)
OKLaboklab(49.02% 0.0788 -0.2056)
OKLCHoklch(49.02% 0.22 291)
XYZxyz(18.3639, 10.0426, 60.6331)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835D0 #9DD035
analogous
#354FD0 #6835D0 #B535D0
triadic
#6835D0 #D06835 #35D068
tetradic
#6835D0 #D0354F #9DD035 #35D0B5
square
#6835D0 #D0354F #9DD035 #35D0B5
split-complementary
#6835D0 #D0B535 #4FD035
monochromatic
#371A70 #4F26A2 #6835D0 #8D67DC #B298E7

Accessibility & contrast

On white

6.98
#6835D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6835D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6835D0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835D0#FFFFFF#000000##FFFFFF
##6835D01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD4
Deuteranopia (green-blind)
#0056CD
Tritanopia (blue-blind)
#445F80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6835d0;
/* rgb */ color: rgb(104, 53, 208);
/* oklch */ color: oklch(49.0% 0.220 291.0);
Tailwind
colors: {
  custom: {
    50: '#9d72e0',
    500: '#6835d0',
    950: '#000000',
  },
}
SCSS
$custom: #6835d0;
$custom-light: #9d72e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6835d0",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 259.742,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.22017,
    "h": 291
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#6835D0
secondary
#BCD38E
accent
#E542B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6835D0

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

Preview Lab → · Contrast checker → · Palette generator →

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