#6835B0#6835B0

#6835B0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.184 H 297.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6835B0
RGBrgb(104, 53, 176)
HSLhsl(265, 54%, 45%)
HSVhsv(265, 70%, 69%)
CMYKcmyk(40.9%, 69.9%, 0%, 31%)
CIE-LABlab(35.25, 48.19, -57.17)
CIE-LCHlch(35.25, 74.77, 310.13°)
OKLaboklab(46.31% 0.0857 -0.1633)
OKLCHoklch(46.31% 0.184 297.7)
XYZxyz(14.8165, 8.6236, 41.9498)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835B0 #7DB035
analogous
#353FB0 #6835B0 #A635B0
triadic
#6835B0 #B06835 #35B068
tetradic
#6835B0 #B0353F #7DB035 #35B0A6
square
#6835B0 #B0353F #7DB035 #35B0A6
split-complementary
#6835B0 #B0A635 #3FB035
monochromatic
#301952 #4C2781 #6835B0 #8756CC #A885DA

Accessibility & contrast

On white

7.71
#6835B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6835B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835B0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835B0#FFFFFF#000000##FFFFFF
##6835B01.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#56536E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6835b0;
/* rgb */ color: rgb(104, 53, 176);
/* oklch */ color: oklch(46.3% 0.184 297.7);
Tailwind
colors: {
  custom: {
    50: '#9970c8',
    500: '#6835b0',
    950: '#000000',
  },
}
SCSS
$custom: #6835b0;
$custom-light: #9970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6835b0",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 264.878,
    "s": 53.712,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46308,
    "c": 0.18439,
    "h": 297.7
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#6835B0
secondary
#A6C47D
accent
#DD4BA0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6835B0

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

Preview Lab → · Contrast checker → · Palette generator →

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