#827BB2#827BB2

#827BB2 is a mid, moderate blue. Relative luminance 0.221; OKLCH L 61.1% C 0.083 H 289.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#827BB2
RGBrgb(130, 123, 178)
HSLhsl(248, 26%, 59%)
HSVhsv(248, 31%, 70%)
CMYKcmyk(27%, 30.9%, 0%, 30.2%)
CIE-LABlab(54.16, 15.03, -28.12)
CIE-LCHlch(54.16, 31.88, 298.12°)
OKLaboklab(61.06% 0.0277 -0.0779)
OKLCHoklch(61.06% 0.083 289.5)
XYZxyz(24.3228, 22.1257, 45.1001)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827BB2 #ABB27B
analogous
#7B90B2 #827BB2 #9E7BB2
triadic
#827BB2 #B2827B #7BB282
tetradic
#827BB2 #B27B90 #ABB27B #7BB29E
square
#827BB2 #B27B90 #ABB27B #7BB29E
split-complementary
#827BB2 #B29E7B #90B27B
monochromatic
#484271 #605897 #827BB2 #A7A2C9 #CBC8DF

Accessibility & contrast

On white

3.87
#827BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#827BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827BB2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827BB2#FFFFFF#000000##000000
##827BB21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C83B4
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#77848F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #827bb2;
/* rgb */ color: rgb(130, 123, 178);
/* oklch */ color: oklch(61.1% 0.083 289.5);
Tailwind
colors: {
  custom: {
    50: '#a7a1c9',
    500: '#827bb2',
    950: '#000000',
  },
}
SCSS
$custom: #827bb2;
$custom-light: #a7a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#827bb2",
  "rgb": {
    "r": 130,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 247.636,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.08266,
    "h": 289.5
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#827BB2
secondary
#CCCFBA
accent
#C365B7
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #827BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#827BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva