#B08CF2#B08CF2

#B08CF2 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.4% C 0.148 H 298.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#B08CF2
RGBrgb(176, 140, 242)
HSLhsl(261, 80%, 75%)
HSVhsv(261, 42%, 95%)
CMYKcmyk(27.3%, 42.1%, 0%, 5.1%)
CIE-LABlab(65.28, 34.42, -46.41)
CIE-LCHlch(65.28, 57.78, 306.56°)
OKLaboklab(71.45% 0.0716 -0.1298)
OKLCHoklch(71.45% 0.148 298.9)
XYZxyz(43.3059, 34.3968, 88.3449)
Luminance0.3440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08CF2 #CEF28C
analogous
#8C9BF2 #B08CF2 #E38CF2
triadic
#B08CF2 #F2B08C #8CF2B0
tetradic
#B08CF2 #F28C9B #CEF28C #8CF2E3
square
#B08CF2 #F28C9B #CEF28C #8CF2E3
split-complementary
#B08CF2 #F2E38C #9BF28C
monochromatic
#641EE6 #8A55EC #B08CF2 #D6C3F8 #ECE4FC

Accessibility & contrast

On white

2.67
#B08CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#B08CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08CF2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08CF2#FFFFFF#000000##000000
##B08CF21.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#769EEF
Tritanopia (blue-blind)
#A39EB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b08cf2;
/* rgb */ color: rgb(176, 140, 242);
/* oklch */ color: oklch(71.4% 0.148 298.9);
Tailwind
colors: {
  custom: {
    50: '#caaef7',
    500: '#b08cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b08cf2;
$custom-light: #caaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b08cf2",
  "rgb": {
    "r": 176,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 261.176,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71449,
    "c": 0.14823,
    "h": 298.9
  },
  "luminance": 0.34397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B08CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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