#B08BF2#B08BF2

#B08BF2 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.3% C 0.150 H 299.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B08BF2
RGBrgb(176, 139, 242)
HSLhsl(262, 80%, 75%)
HSVhsv(262, 43%, 95%)
CMYKcmyk(27.3%, 42.6%, 0%, 5.1%)
CIE-LABlab(65.05, 34.98, -46.77)
CIE-LCHlch(65.05, 58.40, 306.79°)
OKLaboklab(71.28% 0.0729 -0.1308)
OKLCHoklch(71.28% 0.15 299.1)
XYZxyz(43.1604, 34.1059, 88.2964)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08BF2 #CDF28B
analogous
#8B9AF2 #B08BF2 #E38BF2
triadic
#B08BF2 #F2B08B #8BF2B0
tetradic
#B08BF2 #F28B9A #CDF28B #8BF2E3
square
#B08BF2 #F28B9A #CDF28B #8BF2E3
split-complementary
#B08BF2 #F2E38B #9AF28B
monochromatic
#651DE6 #8B54EC #B08BF2 #D5C2F8 #ECE3FC

Accessibility & contrast

On white

2.69
#B08BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B08BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08BF2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08BF2#FFFFFF#000000##000000
##B08BF21.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#A39DB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b08bf2;
/* rgb */ color: rgb(176, 139, 242);
/* oklch */ color: oklch(71.3% 0.150 299.1);
Tailwind
colors: {
  custom: {
    50: '#caadf7',
    500: '#b08bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b08bf2;
$custom-light: #caadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b08bf2",
  "rgb": {
    "r": 176,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 261.553,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71276,
    "c": 0.1498,
    "h": 299.1
  },
  "luminance": 0.34106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B08BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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