#BA67ED#BA67ED

#BA67ED is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.4% C 0.202 H 310.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#BA67ED
RGBrgb(186, 103, 237)
HSLhsl(277, 79%, 67%)
HSVhsv(277, 57%, 93%)
CMYKcmyk(21.5%, 56.5%, 0%, 7.1%)
CIE-LABlab(58.28, 55.72, -54.67)
CIE-LCHlch(58.28, 78.06, 315.55°)
OKLaboklab(66.4% 0.1318 -0.1535)
OKLCHoklch(66.4% 0.202 310.6)
XYZxyz(40.3832, 26.2548, 83.0447)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67ED #9AED67
analogous
#7767ED #BA67ED #ED67DD
triadic
#BA67ED #EDBA67 #67EDBA
tetradic
#BA67ED #ED7767 #9AED67 #67DDED
square
#BA67ED #ED7767 #9AED67 #67DDED
split-complementary
#BA67ED #DDED67 #67ED77
monochromatic
#8117C3 #A130E7 #BA67ED #D39EF3 #ECD4FA

Accessibility & contrast

On white

3.36
#BA67ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#BA67ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67ED
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67ED#FFFFFF#000000##000000
##BA67ED1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#B47FA0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba67ed;
/* rgb */ color: rgb(186, 103, 237);
/* oklch */ color: oklch(66.4% 0.202 310.6);
Tailwind
colors: {
  custom: {
    50: '#d296f3',
    500: '#ba67ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba67ed;
$custom-light: #d296f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67ed",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 237
  },
  "hsl": {
    "h": 277.164,
    "s": 78.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66398,
    "c": 0.20231,
    "h": 310.6
  },
  "luminance": 0.26254
}

Semantic roles & 50–950 ramp

primary
#BA67ED
secondary
#D3EDC2
accent
#DB0A5A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA67ED

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

Preview Lab → · Contrast checker → · Palette generator →

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