#B399CD#B399CD

#B399CD is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.4% C 0.079 H 307.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B399CD
RGBrgb(179, 153, 205)
HSLhsl(270, 34%, 70%)
HSVhsv(270, 25%, 80%)
CMYKcmyk(12.7%, 25.4%, 0%, 19.6%)
CIE-LABlab(67.11, 19.57, -23.09)
CIE-LCHlch(67.11, 30.27, 310.28°)
OKLaboklab(72.4% 0.0479 -0.063)
OKLCHoklch(72.4% 0.079 307.2)
XYZxyz(40.9990, 36.7742, 62.6840)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B399CD #B3CD99
analogous
#9999CD #B399CD #CD99CD
triadic
#B399CD #CDB399 #99CDB3
tetradic
#B399CD #CD9999 #B3CD99 #99CDCD
square
#B399CD #CD9999 #B3CD99 #99CDCD
split-complementary
#B399CD #CDCD99 #99CD99
monochromatic
#764D9E #9470B9 #B399CD #D2C2E1 #F0EAF5

Accessibility & contrast

On white

2.51
#B399CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B399CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B399CD
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B399CD#FFFFFF#000000##000000
##B399CD1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CF
Deuteranopia (green-blind)
#95A4CB
Tritanopia (blue-blind)
#B0A0AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b399cd;
/* rgb */ color: rgb(179, 153, 205);
/* oklch */ color: oklch(72.4% 0.079 307.2);
Tailwind
colors: {
  custom: {
    50: '#cab7dc',
    500: '#b399cd',
    950: '#000000',
  },
}
SCSS
$custom: #b399cd;
$custom-light: #cab7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b399cd",
  "rgb": {
    "r": 179,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72403,
    "c": 0.07915,
    "h": 307.2
  },
  "luminance": 0.36774
}

Semantic roles & 50–950 ramp

primary
#B399CD
secondary
#E1E8DA
accent
#AD3873
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B399CD

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

Preview Lab → · Contrast checker → · Palette generator →

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