#B08DF2#B08DF2

#B08DF2 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.6% C 0.147 H 298.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B08DF2
RGBrgb(176, 141, 242)
HSLhsl(261, 80%, 75%)
HSVhsv(261, 42%, 95%)
CMYKcmyk(27.3%, 41.7%, 0%, 5.1%)
CIE-LABlab(65.51, 33.86, -46.04)
CIE-LCHlch(65.51, 57.15, 306.33°)
OKLaboklab(71.62% 0.0702 -0.1287)
OKLCHoklch(71.62% 0.147 298.6)
XYZxyz(43.4526, 34.6903, 88.3938)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08DF2 #CFF28D
analogous
#8D9CF2 #B08DF2 #E38DF2
triadic
#B08DF2 #F2B08D #8DF2B0
tetradic
#B08DF2 #F28D9C #CFF28D #8DF2E3
square
#B08DF2 #F28D9C #CFF28D #8DF2E3
split-complementary
#B08DF2 #F2E38D #9CF28D
monochromatic
#641FE5 #8A56EC #B08DF2 #D6C4F8 #ECE4FC

Accessibility & contrast

On white

2.65
#B08DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B08DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08DF2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08DF2#FFFFFF#000000##000000
##B08DF21.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#A39FB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b08df2;
/* rgb */ color: rgb(176, 141, 242);
/* oklch */ color: oklch(71.6% 0.147 298.6);
Tailwind
colors: {
  custom: {
    50: '#caaff7',
    500: '#b08df2',
    950: '#000000',
  },
}
SCSS
$custom: #b08df2;
$custom-light: #caaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b08df2",
  "rgb": {
    "r": 176,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 260.792,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71624,
    "c": 0.14666,
    "h": 298.6
  },
  "luminance": 0.34691
}

Semantic roles & 50–950 ramp

primary
#B08DF2
secondary
#EAF4D7
accent
#DC0A93
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #B08DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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