#6835C0#6835C0

#6835C0 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.202 H 294.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6835C0
RGBrgb(104, 53, 192)
HSLhsl(262, 57%, 48%)
HSVhsv(262, 72%, 75%)
CMYKcmyk(45.8%, 72.4%, 0%, 24.7%)
CIE-LABlab(36.55, 52.40, -64.51)
CIE-LCHlch(36.55, 83.11, 309.09°)
OKLaboklab(47.63% 0.0826 -0.1848)
OKLCHoklch(47.63% 0.202 294.1)
XYZxyz(16.4939, 9.2946, 50.7839)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835C0 #8DC035
analogous
#3548C0 #6835C0 #AD35C0
triadic
#6835C0 #C06835 #35C068
tetradic
#6835C0 #C03548 #8DC035 #35C0AD
square
#6835C0 #C03548 #8DC035 #35C0AD
split-complementary
#6835C0 #C0AD35 #48C035
monochromatic
#341B60 #4E2890 #6835C0 #8A5FD3 #AD8FE0

Accessibility & contrast

On white

7.35
#6835C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6835C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835C0
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835C0#FFFFFF#000000##FFFFFF
##6835C01.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#4E5977
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6835c0;
/* rgb */ color: rgb(104, 53, 192);
/* oklch */ color: oklch(47.6% 0.202 294.1);
Tailwind
colors: {
  custom: {
    50: '#9b71d4',
    500: '#6835c0',
    950: '#000000',
  },
}
SCSS
$custom: #6835c0;
$custom-light: #9b71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6835c0",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 262.014,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.20244,
    "h": 294.1
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#6835C0
secondary
#B2CB86
accent
#E048A8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6835C0

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

Preview Lab → · Contrast checker → · Palette generator →

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