#B08CDC#B08CDC

#B08CDC is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.4% C 0.120 H 304.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B08CDC
RGBrgb(176, 140, 220)
HSLhsl(267, 53%, 71%)
HSVhsv(267, 36%, 86%)
CMYKcmyk(20%, 36.4%, 0%, 13.7%)
CIE-LABlab(64.29, 29.26, -35.80)
CIE-LCHlch(64.29, 46.23, 309.25°)
OKLaboklab(70.37% 0.0673 -0.0991)
OKLCHoklch(70.37% 0.12 304.2)
XYZxyz(40.1982, 33.1537, 71.9779)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08CDC #B8DC8C
analogous
#8C90DC #B08CDC #D88CDC
triadic
#B08CDC #DCB08C #8CDCB0
tetradic
#B08CDC #DC8C90 #B8DC8C #8CDCD8
square
#B08CDC #DC8C90 #B8DC8C #8CDCD8
split-complementary
#B08CDC #DCD88C #90DC8C
monochromatic
#7037B6 #905DCE #B08CDC #D0BBEA #EFE8F8

Accessibility & contrast

On white

2.75
#B08CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#B08CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08CDC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08CDC#FFFFFF#000000##000000
##B08CDC1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BDF
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#A998AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b08cdc;
/* rgb */ color: rgb(176, 140, 220);
/* oklch */ color: oklch(70.4% 0.120 304.2);
Tailwind
colors: {
  custom: {
    50: '#c9aee7',
    500: '#b08cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b08cdc;
$custom-light: #c9aee7;
$custom-dark: #000000;
JSON
{
  "hex": "#b08cdc",
  "rgb": {
    "r": 176,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 267,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70374,
    "c": 0.11985,
    "h": 304.2
  },
  "luminance": 0.33154
}

Semantic roles & 50–950 ramp

primary
#B08CDC
secondary
#E3EDD7
accent
#C1257B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B08CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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