#6835C3#6835C3

#6835C3 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.206 H 293.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6835C3
RGBrgb(104, 53, 195)
HSLhsl(262, 57%, 49%)
HSVhsv(262, 73%, 76%)
CMYKcmyk(46.7%, 72.8%, 0%, 23.5%)
CIE-LABlab(36.80, 53.19, -65.85)
CIE-LCHlch(36.80, 84.65, 308.93°)
OKLaboklab(47.89% 0.0819 -0.1888)
OKLCHoklch(47.89% 0.206 293.5)
XYZxyz(16.8296, 9.4289, 52.5524)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835C3 #90C335
analogous
#3549C3 #6835C3 #AF35C3
triadic
#6835C3 #C36835 #35C368
tetradic
#6835C3 #C33549 #90C335 #35C3AF
square
#6835C3 #C33549 #90C335 #35C3AF
split-complementary
#6835C3 #C3AF35 #49C335
monochromatic
#351B63 #4E2893 #6835C3 #8A61D4 #AE91E1

Accessibility & contrast

On white

7.28
#6835C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6835C3
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835C3#FFFFFF#000000##FFFFFF
##6835C31.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#4D5A79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6835c3;
/* rgb */ color: rgb(104, 53, 195);
/* oklch */ color: oklch(47.9% 0.206 293.5);
Tailwind
colors: {
  custom: {
    50: '#9b71d6',
    500: '#6835c3',
    950: '#000000',
  },
}
SCSS
$custom: #6835c3;
$custom-light: #9b71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6835c3",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 261.549,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47888,
    "c": 0.20579,
    "h": 293.5
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#6835C3
secondary
#B4CC88
accent
#E147A9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6835C3

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

Preview Lab → · Contrast checker → · Palette generator →

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