#7835BD#7835BD

#7835BD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.201 H 301.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7835BD
RGBrgb(120, 53, 189)
HSLhsl(270, 56%, 47%)
HSVhsv(270, 72%, 74%)
CMYKcmyk(36.5%, 72%, 0%, 25.9%)
CIE-LABlab(38.22, 54.48, -59.93)
CIE-LCHlch(38.22, 80.99, 312.27°)
OKLaboklab(49.17% 0.1061 -0.1708)
OKLCHoklch(49.17% 0.201 301.8)
XYZxyz(18.2019, 10.2133, 49.1467)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835BD #7ABD35
analogous
#3536BD #7835BD #BC35BD
triadic
#7835BD #BD7835 #35BD78
tetradic
#7835BD #BD3536 #7ABD35 #35BDBC
square
#7835BD #BD3536 #7ABD35 #35BDBC
split-complementary
#7835BD #BDBC35 #36BD35
monochromatic
#3B1A5D #5A288D #7835BD #975DD2 #B68DDF

Accessibility & contrast

On white

6.90
#7835BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7835BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835BD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835BD#FFFFFF#000000##FFFFFF
##7835BD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#695676
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7835bd;
/* rgb */ color: rgb(120, 53, 189);
/* oklch */ color: oklch(49.2% 0.201 301.8);
Tailwind
colors: {
  custom: {
    50: '#a572d2',
    500: '#7835bd',
    950: '#000000',
  },
}
SCSS
$custom: #7835bd;
$custom-light: #a572d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7835bd",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 269.559,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.20108,
    "h": 301.8
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#7835BD
secondary
#A7CA84
accent
#DF4895
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7835BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7835BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva