#B684F7#B684F7

#B684F7 is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.9% C 0.168 H 302.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B684F7
RGBrgb(182, 132, 247)
HSLhsl(266, 88%, 74%)
HSVhsv(266, 47%, 97%)
CMYKcmyk(26.3%, 46.6%, 0%, 3.1%)
CIE-LABlab(64.29, 41.66, -50.67)
CIE-LCHlch(64.29, 65.60, 309.42°)
OKLaboklab(70.92% 0.0901 -0.142)
OKLCHoklch(70.92% 0.168 302.4)
XYZxyz(44.3274, 33.1630, 92.0435)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B684F7 #C5F784
analogous
#848CF7 #B684F7 #F084F7
triadic
#B684F7 #F7B684 #84F7B6
tetradic
#B684F7 #F7848C #C5F784 #84F7F0
square
#B684F7 #F7848C #C5F784 #84F7F0
split-complementary
#B684F7 #F7F084 #8CF784
monochromatic
#7211F0 #944BF3 #B684F7 #D8BDFB #EEE2FD

Accessibility & contrast

On white

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

On black

7.63
#B684F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B684F7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B684F7#FFFFFF#000000##000000
##B684F71.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#AA98B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b684f7;
/* rgb */ color: rgb(182, 132, 247);
/* oklch */ color: oklch(70.9% 0.168 302.4);
Tailwind
colors: {
  custom: {
    50: '#cea9fa',
    500: '#b684f7',
    950: '#000000',
  },
}
SCSS
$custom: #b684f7;
$custom-light: #cea9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b684f7",
  "rgb": {
    "r": 182,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 266.087,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70923,
    "c": 0.16822,
    "h": 302.4
  },
  "luminance": 0.33163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B684F7

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

Preview Lab → · Contrast checker → · Palette generator →

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