#B681F8#B681F8

#B681F8 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.5% C 0.174 H 302.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B681F8
RGBrgb(182, 129, 248)
HSLhsl(267, 89%, 74%)
HSVhsv(267, 48%, 97%)
CMYKcmyk(26.6%, 48%, 0%, 2.7%)
CIE-LABlab(63.69, 43.53, -52.17)
CIE-LCHlch(63.69, 67.95, 309.84°)
OKLaboklab(70.49% 0.0942 -0.1464)
OKLCHoklch(70.49% 0.174 302.7)
XYZxyz(44.0812, 32.4229, 92.7247)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B681F8 #C3F881
analogous
#8188F8 #B681F8 #F281F8
triadic
#B681F8 #F8B681 #81F8B6
tetradic
#B681F8 #F88188 #C3F881 #81F8F2
square
#B681F8 #F88188 #C3F881 #81F8F2
split-complementary
#B681F8 #F8F281 #88F881
monochromatic
#730DF1 #9447F5 #B681F8 #D8BBFB #EEE2FD

Accessibility & contrast

On white

2.81
#B681F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B681F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B681F8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B681F8#FFFFFF#000000##000000
##B681F81.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#AA96B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b681f8;
/* rgb */ color: rgb(182, 129, 248);
/* oklch */ color: oklch(70.5% 0.174 302.7);
Tailwind
colors: {
  custom: {
    50: '#cea7fb',
    500: '#b681f8',
    950: '#000000',
  },
}
SCSS
$custom: #b681f8;
$custom-light: #cea7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b681f8",
  "rgb": {
    "r": 182,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 266.723,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7049,
    "c": 0.17409,
    "h": 302.7
  },
  "luminance": 0.32423
}

Semantic roles & 50–950 ramp

primary
#B681F8
secondary
#E7F5D6
accent
#E6007F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B681F8

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

Preview Lab → · Contrast checker → · Palette generator →

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