#B08EC2#B08EC2

#B08EC2 is a light, moderate violet. Relative luminance 0.325; OKLCH L 69.6% C 0.083 H 313.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B08EC2
RGBrgb(176, 142, 194)
HSLhsl(279, 30%, 66%)
HSVhsv(279, 27%, 76%)
CMYKcmyk(9.3%, 26.8%, 0%, 23.9%)
CIE-LABlab(63.73, 22.44, -22.13)
CIE-LCHlch(63.73, 31.52, 315.40°)
OKLaboklab(69.61% 0.0576 -0.0603)
OKLCHoklch(69.61% 0.083 313.7)
XYZxyz(37.3135, 32.4717, 55.3305)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08EC2 #A0C28E
analogous
#968EC2 #B08EC2 #C28EBA
triadic
#B08EC2 #C2B08E #8EC2B0
tetradic
#B08EC2 #C2968E #A0C28E #8EBAC2
square
#B08EC2 #C2968E #A0C28E #8EBAC2
split-complementary
#B08EC2 #BAC28E #8EC296
monochromatic
#754B8B #9466AD #B08EC2 #CCB6D7 #E8DDED

Accessibility & contrast

On white

2.80
#B08EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B08EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B08EC2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08EC2#FFFFFF#000000##000000
##B08EC21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8698C4
Deuteranopia (green-blind)
#8E9BC0
Tritanopia (blue-blind)
#AF94A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b08ec2;
/* rgb */ color: rgb(176, 142, 194);
/* oklch */ color: oklch(69.6% 0.083 313.7);
Tailwind
colors: {
  custom: {
    50: '#c8afd4',
    500: '#b08ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b08ec2;
$custom-light: #c8afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b08ec2",
  "rgb": {
    "r": 176,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 279.231,
    "s": 29.885,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6961,
    "c": 0.0834,
    "h": 313.7
  },
  "luminance": 0.32471
}

Semantic roles & 50–950 ramp

primary
#B08EC2
secondary
#D3DECD
accent
#A93D62
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B08EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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