#B684F8#B684F8

#B684F8 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.0% C 0.169 H 302.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B684F8
RGBrgb(182, 132, 248)
HSLhsl(266, 89%, 75%)
HSVhsv(266, 47%, 97%)
CMYKcmyk(26.6%, 46.8%, 0%, 2.7%)
CIE-LABlab(64.34, 41.89, -51.14)
CIE-LCHlch(64.34, 66.11, 309.32°)
OKLaboklab(70.98% 0.0902 -0.1434)
OKLCHoklch(70.98% 0.169 302.2)
XYZxyz(44.4822, 33.2249, 92.8583)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B684F8 #C6F884
analogous
#848CF8 #B684F8 #F084F8
triadic
#B684F8 #F8B684 #84F8B6
tetradic
#B684F8 #F8848C #C6F884 #84F8F0
square
#B684F8 #F8848C #C6F884 #84F8F0
split-complementary
#B684F8 #F8F084 #8CF884
monochromatic
#7110F1 #944AF5 #B684F8 #D8BEFB #EEE2FD

Accessibility & contrast

On white

2.75
#B684F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B684F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B684F8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B684F8#FFFFFF#000000##000000
##B684F81.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#6E9CF5
Tritanopia (blue-blind)
#AA99B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b684f8;
/* rgb */ color: rgb(182, 132, 248);
/* oklch */ color: oklch(71.0% 0.169 302.2);
Tailwind
colors: {
  custom: {
    50: '#cea9fb',
    500: '#b684f8',
    950: '#000000',
  },
}
SCSS
$custom: #b684f8;
$custom-light: #cea9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b684f8",
  "rgb": {
    "r": 182,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 265.862,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70976,
    "c": 0.16944,
    "h": 302.2
  },
  "luminance": 0.33225
}

Semantic roles & 50–950 ramp

primary
#B684F8
secondary
#E8F5D6
accent
#E60083
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B684F8

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

Preview Lab → · Contrast checker → · Palette generator →

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