#B08EF2#B08EF2

#B08EF2 is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.8% C 0.145 H 298.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B08EF2
RGBrgb(176, 142, 242)
HSLhsl(260, 79%, 75%)
HSVhsv(260, 41%, 95%)
CMYKcmyk(27.3%, 41.3%, 0%, 5.1%)
CIE-LABlab(65.74, 33.30, -45.68)
CIE-LCHlch(65.74, 56.53, 306.09°)
OKLaboklab(71.8% 0.0689 -0.1277)
OKLCHoklch(71.8% 0.145 298.3)
XYZxyz(43.6008, 34.9866, 88.4432)
Luminance0.3499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EF2 #D0F28E
analogous
#8E9EF2 #B08EF2 #E28EF2
triadic
#B08EF2 #F2B08E #8EF2B0
tetradic
#B08EF2 #F28E9E #D0F28E #8EF2E2
square
#B08EF2 #F28E9E #D0F28E #8EF2E2
split-complementary
#B08EF2 #F2E28E #9EF28E
monochromatic
#6320E5 #8A57EC #B08EF2 #D6C5F8 #ECE4FC

Accessibility & contrast

On white

2.63
#B08EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B08EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EF2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EF2#FFFFFF#000000##000000
##B08EF21.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#A39FB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b08ef2;
/* rgb */ color: rgb(176, 142, 242);
/* oklch */ color: oklch(71.8% 0.145 298.3);
Tailwind
colors: {
  custom: {
    50: '#c9aff7',
    500: '#b08ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b08ef2;
$custom-light: #c9aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b08ef2",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 260.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71798,
    "c": 0.14508,
    "h": 298.3
  },
  "luminance": 0.34987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B08EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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