#BA67F8#BA67F8

#BA67F8 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.0% C 0.214 H 308.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#BA67F8
RGBrgb(186, 103, 248)
HSLhsl(274, 91%, 69%)
HSVhsv(274, 58%, 97%)
CMYKcmyk(25%, 58.5%, 0%, 2.7%)
CIE-LABlab(58.90, 58.12, -59.78)
CIE-LCHlch(58.90, 83.38, 314.19°)
OKLaboklab(67.05% 0.132 -0.1685)
OKLCHoklch(67.05% 0.214 308.1)
XYZxyz(42.0398, 26.9175, 91.7697)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67F8 #A5F867
analogous
#7267F8 #BA67F8 #F867ED
triadic
#BA67F8 #F8BA67 #67F8BA
tetradic
#BA67F8 #F87267 #A5F867 #67EDF8
square
#BA67F8 #F87267 #A5F867 #67EDF8
split-complementary
#BA67F8 #EDF867 #67F872
monochromatic
#810ADB #9F2CF5 #BA67F8 #D5A2FB #EFDCFD

Accessibility & contrast

On white

3.29
#BA67F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#BA67F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67F8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67F8#FFFFFF#000000##000000
##BA67F81.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFD
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#B183A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba67f8;
/* rgb */ color: rgb(186, 103, 248);
/* oklch */ color: oklch(67.0% 0.214 308.1);
Tailwind
colors: {
  custom: {
    50: '#d296fb',
    500: '#ba67f8',
    950: '#000000',
  },
}
SCSS
$custom: #ba67f8;
$custom-light: #d296fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67f8",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 248
  },
  "hsl": {
    "h": 274.345,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6705,
    "c": 0.21401,
    "h": 308.1
  },
  "luminance": 0.26917
}

Semantic roles & 50–950 ramp

primary
#BA67F8
secondary
#DAF3C8
accent
#E60062
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA67F8

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

Preview Lab → · Contrast checker → · Palette generator →

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