#852DBB#852DBB

#852DBB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.211 H 308.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#852DBB
RGBrgb(133, 45, 187)
HSLhsl(277, 61%, 45%)
HSVhsv(277, 76%, 73%)
CMYKcmyk(28.9%, 75.9%, 0%, 26.7%)
CIE-LABlab(38.64, 59.77, -58.00)
CIE-LCHlch(38.64, 83.28, 315.86°)
OKLaboklab(49.79% 0.1319 -0.1646)
OKLCHoklch(49.79% 0.211 308.7)
XYZxyz(19.5790, 10.4515, 47.9900)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DBB #63BB2D
analogous
#3E2DBB #852DBB #BB2DAA
triadic
#852DBB #BB852D #2DBB85
tetradic
#852DBB #BB3E2D #63BB2D #2DAABB
square
#852DBB #BB3E2D #63BB2D #2DAABB
split-complementary
#852DBB #AABB2D #2DBB3E
monochromatic
#3F1558 #62218A #852DBB #A250D5 #BD82E1

Accessibility & contrast

On white

6.80
#852DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#852DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DBB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DBB#FFFFFF#000000##FFFFFF
##852DBB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#7D5073
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852dbb;
/* rgb */ color: rgb(133, 45, 187);
/* oklch */ color: oklch(49.8% 0.211 308.7);
Tailwind
colors: {
  custom: {
    50: '#ae6fd0',
    500: '#852dbb',
    950: '#000000',
  },
}
SCSS
$custom: #852dbb;
$custom-light: #ae6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#852dbb",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 277.183,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.21094,
    "h": 308.7
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#852DBB
secondary
#98CA7A
accent
#E44381
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852DBB

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

Preview Lab → · Contrast checker → · Palette generator →

#852DBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva