#BA4FD0#BA4FD0

#BA4FD0 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.208 H 320.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA4FD0
RGBrgb(186, 79, 208)
HSLhsl(290, 58%, 56%)
HSVhsv(290, 62%, 82%)
CMYKcmyk(10.6%, 62%, 0%, 18.4%)
CIE-LABlab(52.49, 61.19, -47.52)
CIE-LCHlch(52.49, 77.47, 322.17°)
OKLaboklab(61.67% 0.1605 -0.1325)
OKLCHoklch(61.67% 0.208 320.4)
XYZxyz(34.4295, 20.5868, 61.8224)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FD0 #65D04F
analogous
#7A4FD0 #BA4FD0 #D04FA6
triadic
#BA4FD0 #D0BA4F #4FD0BA
tetradic
#BA4FD0 #D07A4F #65D04F #4FA6D0
square
#BA4FD0 #D07A4F #65D04F #4FA6D0
split-complementary
#BA4FD0 #A6D04F #4FD07A
monochromatic
#722382 #9C30B2 #BA4FD0 #CD7FDD #E0B0EA

Accessibility & contrast

On white

4.10
#BA4FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BA4FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FD0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FD0#FFFFFF#000000##000000
##BA4FD01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E76D4
Deuteranopia (green-blind)
#5B81CD
Tritanopia (blue-blind)
#BB6488
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4fd0;
/* rgb */ color: rgb(186, 79, 208);
/* oklch */ color: oklch(61.7% 0.208 320.4);
Tailwind
colors: {
  custom: {
    50: '#d287df',
    500: '#ba4fd0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fd0;
$custom-light: #d287df;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fd0",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 208
  },
  "hsl": {
    "h": 289.767,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61671,
    "c": 0.20809,
    "h": 320.4
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#BA4FD0
secondary
#ACD8A3
accent
#E14761
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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