#B08CF3#B08CF3

#B08CF3 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.150 H 298.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#B08CF3
RGBrgb(176, 140, 243)
HSLhsl(261, 81%, 75%)
HSVhsv(261, 42%, 95%)
CMYKcmyk(27.6%, 42.4%, 0%, 4.7%)
CIE-LABlab(65.32, 34.66, -46.88)
CIE-LCHlch(65.32, 58.30, 306.47°)
OKLaboklab(71.5% 0.0718 -0.1312)
OKLCHoklch(71.5% 0.15 298.7)
XYZxyz(43.4565, 34.4570, 89.1381)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08CF3 #CFF38C
analogous
#8C9BF3 #B08CF3 #E48CF3
triadic
#B08CF3 #F3B08C #8CF3B0
tetradic
#B08CF3 #F38C9B #CFF38C #8CF3E4
square
#B08CF3 #F38C9B #CFF38C #8CF3E4
split-complementary
#B08CF3 #F3E48C #9BF38C
monochromatic
#641DE7 #8A55ED #B08CF3 #D6C3F9 #ECE3FC

Accessibility & contrast

On white

2.66
#B08CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#B08CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08CF3
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08CF3#FFFFFF#000000##000000
##B08CF31.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF7
Deuteranopia (green-blind)
#769EF0
Tritanopia (blue-blind)
#A39EB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b08cf3;
/* rgb */ color: rgb(176, 140, 243);
/* oklch */ color: oklch(71.5% 0.150 298.7);
Tailwind
colors: {
  custom: {
    50: '#caaef7',
    500: '#b08cf3',
    950: '#000000',
  },
}
SCSS
$custom: #b08cf3;
$custom-light: #caaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b08cf3",
  "rgb": {
    "r": 176,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 260.971,
    "s": 81.102,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71501,
    "c": 0.14952,
    "h": 298.7
  },
  "luminance": 0.34457
}

Semantic roles & 50–950 ramp

primary
#B08CF3
secondary
#EAF4D7
accent
#DD0893
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B08CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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