#BA68CD#BA68CD

#BA68CD is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.8% C 0.167 H 319.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#BA68CD
RGBrgb(186, 104, 205)
HSLhsl(289, 50%, 61%)
HSVhsv(289, 49%, 80%)
CMYKcmyk(9.3%, 49.3%, 0%, 19.6%)
CIE-LABlab(56.83, 48.57, -38.96)
CIE-LCHlch(56.83, 62.26, 321.27°)
OKLaboklab(64.8% 0.1278 -0.1078)
OKLCHoklch(64.8% 0.167 319.8)
XYZxyz(36.2181, 24.7489, 60.6150)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68CD #7BCD68
analogous
#8768CD #BA68CD #CD68AD
triadic
#BA68CD #CDBA68 #68CDBA
tetradic
#BA68CD #CD8768 #7BCD68 #68ADCD
square
#BA68CD #CD8768 #7BCD68 #68ADCD
split-complementary
#BA68CD #ADCD68 #68CD87
monochromatic
#7B2E8C #A33EBA #BA68CD #CF96DC #E4C4EB

Accessibility & contrast

On white

3.53
#BA68CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#BA68CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68CD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68CD#FFFFFF#000000##000000
##BA68CD1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#BB7691
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba68cd;
/* rgb */ color: rgb(186, 104, 205);
/* oklch */ color: oklch(64.8% 0.167 319.8);
Tailwind
colors: {
  custom: {
    50: '#d196dc',
    500: '#ba68cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba68cd;
$custom-light: #d196dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68cd",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 288.713,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64799,
    "c": 0.16723,
    "h": 319.8
  },
  "luminance": 0.24748
}

Semantic roles & 50–950 ramp

primary
#BA68CD
secondary
#BCDCB5
accent
#BE2844
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA68CD

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

Preview Lab → · Contrast checker → · Palette generator →

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