#852BB3#852BB3

#852BB3 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.206 H 311.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#852BB3
RGBrgb(133, 43, 179)
HSLhsl(280, 61%, 44%)
HSVhsv(280, 76%, 70%)
CMYKcmyk(25.7%, 76%, 0%, 29.8%)
CIE-LABlab(37.79, 58.82, -54.65)
CIE-LCHlch(37.79, 80.29, 317.10°)
OKLaboklab(49.01% 0.1352 -0.1548)
OKLCHoklch(49.01% 0.206 311.1)
XYZxyz(18.6719, 9.9694, 43.5798)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BB3 #59B32B
analogous
#412BB3 #852BB3 #B32B9D
triadic
#852BB3 #B3852B #2BB385
tetradic
#852BB3 #B3412B #59B32B #2B9DB3
square
#852BB3 #B3412B #59B32B #2B9DB3
split-complementary
#852BB3 #9DB32B #2BB341
monochromatic
#3C1350 #601F82 #852BB3 #A448D3 #BD79DF

Accessibility & contrast

On white

7.01
#852BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#852BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BB3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BB3#FFFFFF#000000##FFFFFF
##852BB31.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0D5AB0
Tritanopia (blue-blind)
#7F4B6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852bb3;
/* rgb */ color: rgb(133, 43, 179);
/* oklch */ color: oklch(49.0% 0.206 311.1);
Tailwind
colors: {
  custom: {
    50: '#ad6ecb',
    500: '#852bb3',
    950: '#000000',
  },
}
SCSS
$custom: #852bb3;
$custom-light: #ad6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#852bb3",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 279.706,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49006,
    "c": 0.20552,
    "h": 311.1
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#852BB3
secondary
#8FC773
accent
#E4437A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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