#7835BF#7835BF

#7835BF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.203 H 301.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7835BF
RGBrgb(120, 53, 191)
HSLhsl(269, 57%, 48%)
HSVhsv(269, 72%, 75%)
CMYKcmyk(37.2%, 72.3%, 0%, 25.1%)
CIE-LABlab(38.38, 54.97, -60.85)
CIE-LCHlch(38.38, 82.00, 312.09°)
OKLaboklab(49.33% 0.1057 -0.1735)
OKLCHoklch(49.33% 0.203 301.3)
XYZxyz(18.4205, 10.3008, 50.2979)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835BF #7CBF35
analogous
#3537BF #7835BF #BD35BF
triadic
#7835BF #BF7835 #35BF78
tetradic
#7835BF #BF3537 #7CBF35 #35BFBD
square
#7835BF #BF3537 #7CBF35 #35BFBD
split-complementary
#7835BF #BFBD35 #37BF35
monochromatic
#3C1A5F #5A288F #7835BF #975FD3 #B68FE0

Accessibility & contrast

On white

6.86
#7835BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7835BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835BF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835BF#FFFFFF#000000##FFFFFF
##7835BF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#695777
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7835bf;
/* rgb */ color: rgb(120, 53, 191);
/* oklch */ color: oklch(49.3% 0.203 301.3);
Tailwind
colors: {
  custom: {
    50: '#a572d3',
    500: '#7835bf',
    950: '#000000',
  },
}
SCSS
$custom: #7835bf;
$custom-light: #a572d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7835bf",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 269.13,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4933,
    "c": 0.20319,
    "h": 301.3
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#7835BF
secondary
#A9CA85
accent
#E04896
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7835BF

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

Preview Lab → · Contrast checker → · Palette generator →

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