#BA99CD#BA99CD

#BA99CD is a light, moderate violet. Relative luminance 0.376; OKLCH L 73.0% C 0.082 H 313.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#BA99CD
RGBrgb(186, 153, 205)
HSLhsl(278, 34%, 70%)
HSVhsv(278, 25%, 80%)
CMYKcmyk(9.3%, 25.4%, 0%, 19.6%)
CIE-LABlab(67.75, 21.84, -22.06)
CIE-LCHlch(67.75, 31.04, 314.72°)
OKLaboklab(73.05% 0.0559 -0.06)
OKLCHoklch(73.05% 0.082 313)
XYZxyz(42.6586, 37.6299, 62.7618)
Luminance0.3763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA99CD #ACCD99
analogous
#A099CD #BA99CD #CD99C6
triadic
#BA99CD #CDBA99 #99CDBA
tetradic
#BA99CD #CDA099 #ACCD99 #99C6CD
square
#BA99CD #CDA099 #ACCD99 #99C6CD
split-complementary
#BA99CD #C6CD99 #99CDA0
monochromatic
#814D9E #9E70B9 #BA99CD #D6C2E1 #F1EAF5

Accessibility & contrast

On white

2.46
#BA99CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#BA99CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA99CD
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA99CD#FFFFFF#000000##000000
##BA99CD1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3CF
Deuteranopia (green-blind)
#98A6CB
Tritanopia (blue-blind)
#B99FAB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba99cd;
/* rgb */ color: rgb(186, 153, 205);
/* oklch */ color: oklch(73.0% 0.082 313.0);
Tailwind
colors: {
  custom: {
    50: '#cfb7dc',
    500: '#ba99cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba99cd;
$custom-light: #cfb7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba99cd",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 278.077,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73046,
    "c": 0.08201,
    "h": 313
  },
  "luminance": 0.37629
}

Semantic roles & 50–950 ramp

primary
#BA99CD
secondary
#DFE8DA
accent
#AD3863
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA99CD

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

Preview Lab → · Contrast checker → · Palette generator →

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