#B38CED#B38CED

#B38CED is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.142 H 301.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#B38CED
RGBrgb(179, 140, 237)
HSLhsl(264, 73%, 74%)
HSVhsv(264, 41%, 93%)
CMYKcmyk(24.5%, 40.9%, 0%, 7.1%)
CIE-LABlab(65.32, 34.06, -43.57)
CIE-LCHlch(65.32, 55.30, 308.02°)
OKLaboklab(71.47% 0.0742 -0.1215)
OKLCHoklch(71.47% 0.142 301.4)
XYZxyz(43.2512, 34.4542, 84.4761)
Luminance0.3445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CED #C6ED8C
analogous
#8C96ED #B38CED #E48CED
triadic
#B38CED #EDB38C #8CEDB3
tetradic
#B38CED #ED8C96 #C6ED8C #8CEDE4
square
#B38CED #ED8C96 #C6ED8C #8CEDE4
split-complementary
#B38CED #EDE48C #96ED8C
monochromatic
#6D22DC #9057E5 #B38CED #D6C1F5 #EEE5FB

Accessibility & contrast

On white

2.66
#B38CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#B38CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CED
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CED#FFFFFF#000000##000000
##B38CED1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#A99CB1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b38ced;
/* rgb */ color: rgb(179, 140, 237);
/* oklch */ color: oklch(71.5% 0.142 301.4);
Tailwind
colors: {
  custom: {
    50: '#cbaef3',
    500: '#b38ced',
    950: '#000000',
  },
}
SCSS
$custom: #b38ced;
$custom-light: #cbaef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ced",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 264.124,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71473,
    "c": 0.14238,
    "h": 301.4
  },
  "luminance": 0.34454
}

Semantic roles & 50–950 ramp

primary
#B38CED
secondary
#E8F3D8
accent
#D51086
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B38CED

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

Preview Lab → · Contrast checker → · Palette generator →

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