#B08CEF#B08CEF

#B08CEF is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.144 H 299.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B08CEF
RGBrgb(176, 140, 239)
HSLhsl(262, 76%, 74%)
HSVhsv(262, 41%, 94%)
CMYKcmyk(26.4%, 41.4%, 0%, 6.3%)
CIE-LABlab(65.14, 33.70, -44.98)
CIE-LCHlch(65.14, 56.20, 306.84°)
OKLaboklab(71.3% 0.0711 -0.1257)
OKLCHoklch(71.3% 0.144 299.5)
XYZxyz(42.8590, 34.2180, 85.9914)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08CEF #CBEF8C
analogous
#8C9AEF #B08CEF #E28CEF
triadic
#B08CEF #EFB08C #8CEFB0
tetradic
#B08CEF #EF8C9A #CBEF8C #8CEFE2
square
#B08CEF #EF8C9A #CBEF8C #8CEFE2
split-complementary
#B08CEF #EFE28C #9AEF8C
monochromatic
#6621E0 #8B56E8 #B08CEF #D5C2F6 #EDE4FB

Accessibility & contrast

On white

2.68
#B08CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B08CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08CEF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08CEF#FFFFFF#000000##000000
##B08CEF1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#A49DB2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b08cef;
/* rgb */ color: rgb(176, 140, 239);
/* oklch */ color: oklch(71.3% 0.144 299.5);
Tailwind
colors: {
  custom: {
    50: '#c9aef4',
    500: '#b08cef',
    950: '#000000',
  },
}
SCSS
$custom: #b08cef;
$custom-light: #c9aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b08cef",
  "rgb": {
    "r": 176,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 261.818,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71297,
    "c": 0.14437,
    "h": 299.5
  },
  "luminance": 0.34218
}

Semantic roles & 50–950 ramp

primary
#B08CEF
secondary
#E9F3D8
accent
#D80E8E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B08CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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