#7850BB#7850BB

#7850BB is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.162 H 297.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7850BB
RGBrgb(120, 80, 187)
HSLhsl(262, 44%, 52%)
HSVhsv(262, 57%, 73%)
CMYKcmyk(35.8%, 57.2%, 0%, 26.7%)
CIE-LABlab(43.24, 39.97, -50.65)
CIE-LCHlch(43.24, 64.52, 308.28°)
OKLaboklab(52.75% 0.0758 -0.1436)
OKLCHoklch(52.75% 0.162 297.8)
XYZxyz(19.5818, 13.3180, 48.5430)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850BB #93BB50
analogous
#505DBB #7850BB #AE50BB
triadic
#7850BB #BB7850 #50BB78
tetradic
#7850BB #BB505D #93BB50 #50BBAE
square
#7850BB #BB505D #93BB50 #50BBAE
split-complementary
#7850BB #BBAE50 #5DBB50
monochromatic
#402868 #5B3A94 #7850BB #9A7CCC #BCA8DD

Accessibility & contrast

On white

5.73
#7850BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7850BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850BB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850BB#FFFFFF#000000##FFFFFF
##7850BB1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#69667E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7850bb;
/* rgb */ color: rgb(120, 80, 187);
/* oklch */ color: oklch(52.8% 0.162 297.8);
Tailwind
colors: {
  custom: {
    50: '#a382d0',
    500: '#7850bb',
    950: '#000000',
  },
}
SCSS
$custom: #7850bb;
$custom-light: #a382d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7850bb",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 262.43,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.16242,
    "h": 297.8
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#7850BB
secondary
#B9CB9C
accent
#D454A4
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7850BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7850BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva