#852BBB#852BBB

#852BBB is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.213 H 308.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#852BBB
RGBrgb(133, 43, 187)
HSLhsl(278, 63%, 45%)
HSVhsv(278, 77%, 73%)
CMYKcmyk(28.9%, 77%, 0%, 26.7%)
CIE-LABlab(38.38, 60.52, -58.42)
CIE-LCHlch(38.38, 84.12, 316.01°)
OKLaboklab(49.61% 0.1336 -0.1659)
OKLCHoklch(49.61% 0.213 308.9)
XYZxyz(19.5045, 10.3025, 47.9652)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BBB #61BB2B
analogous
#3D2BBB #852BBB #BB2BA9
triadic
#852BBB #BB852B #2BBB85
tetradic
#852BBB #BB3D2B #61BB2B #2BA9BB
square
#852BBB #BB3D2B #61BB2B #2BA9BB
split-complementary
#852BBB #A9BB2B #2BBB3D
monochromatic
#3E1457 #622089 #852BBB #A34DD6 #BD7FE2

Accessibility & contrast

On white

6.86
#852BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#852BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852BBB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BBB#FFFFFF#000000##FFFFFF
##852BBB1.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)
#0057BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#7D4F72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852bbb;
/* rgb */ color: rgb(133, 43, 187);
/* oklch */ color: oklch(49.6% 0.213 308.9);
Tailwind
colors: {
  custom: {
    50: '#ae6ed0',
    500: '#852bbb',
    950: '#000000',
  },
}
SCSS
$custom: #852bbb;
$custom-light: #ae6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#852bbb",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 277.5,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.21299,
    "h": 308.9
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#852BBB
secondary
#97CA78
accent
#E6427F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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