#B684F2#B684F2

#B684F2 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.7% C 0.162 H 303.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B684F2
RGBrgb(182, 132, 242)
HSLhsl(267, 81%, 73%)
HSVhsv(267, 45%, 95%)
CMYKcmyk(24.8%, 45.5%, 0%, 5.1%)
CIE-LABlab(64.05, 40.49, -48.31)
CIE-LCHlch(64.05, 63.03, 309.97°)
OKLaboklab(70.66% 0.0895 -0.1352)
OKLCHoklch(70.66% 0.162 303.5)
XYZxyz(43.5662, 32.8585, 88.0343)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B684F2 #C0F284
analogous
#8489F2 #B684F2 #ED84F2
triadic
#B684F2 #F2B684 #84F2B6
tetradic
#B684F2 #F28489 #C0F284 #84F2ED
square
#B684F2 #F28489 #C0F284 #84F2ED
split-complementary
#B684F2 #F2ED84 #89F284
monochromatic
#7518E4 #954DEC #B684F2 #D7BBF8 #EFE3FC

Accessibility & contrast

On white

2.77
#B684F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B684F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B684F2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B684F2#FFFFFF#000000##000000
##B684F21.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#AC97B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b684f2;
/* rgb */ color: rgb(182, 132, 242);
/* oklch */ color: oklch(70.7% 0.162 303.5);
Tailwind
colors: {
  custom: {
    50: '#cea9f7',
    500: '#b684f2',
    950: '#000000',
  },
}
SCSS
$custom: #b684f2;
$custom-light: #cea9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b684f2",
  "rgb": {
    "r": 182,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 267.273,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.16209,
    "h": 303.5
  },
  "luminance": 0.32858
}

Semantic roles & 50–950 ramp

primary
#B684F2
secondary
#E7F4D7
accent
#DD087C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B684F2

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

Preview Lab → · Contrast checker → · Palette generator →

#B684F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva