#BA62FD#BA62FD

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

Color values

HEX#BA62FD
RGBrgb(186, 98, 253)
HSLhsl(274, 97%, 69%)
HSVhsv(274, 61%, 99%)
CMYKcmyk(26.5%, 61.3%, 0%, 0.8%)
CIE-LABlab(58.29, 61.66, -63.53)
CIE-LCHlch(58.29, 88.53, 314.15°)
OKLaboklab(66.7% 0.1377 -0.1794)
OKLCHoklch(66.7% 0.226 307.5)
XYZxyz(42.3433, 26.2669, 95.7488)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62FD #A5FD62
analogous
#6D62FD #BA62FD #FD62F2
triadic
#BA62FD #FDBA62 #62FDBA
tetradic
#BA62FD #FD6D62 #A5FD62 #62F2FD
square
#BA62FD #FD6D62 #A5FD62 #62F2FD
split-complementary
#BA62FD #F2FD62 #62FD6D
monochromatic
#8103E2 #9F26FC #BA62FD #D59EFE #EFDBFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA62FD#FFFFFF#000000##000000
##BA62FD1.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)
#0789FF
Deuteranopia (green-blind)
#468DF9
Tritanopia (blue-blind)
#B081A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba62fd;
/* rgb */ color: rgb(186, 98, 253);
/* oklch */ color: oklch(66.7% 0.226 307.5);
Tailwind
colors: {
  custom: {
    50: '#d393ff',
    500: '#ba62fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba62fd;
$custom-light: #d393ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62fd",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 274.065,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66702,
    "c": 0.2262,
    "h": 307.5
  },
  "luminance": 0.26266
}

Semantic roles & 50–950 ramp

primary
#BA62FD
secondary
#DAF4C6
accent
#E60063
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA62FD

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

Preview Lab → · Contrast checker → · Palette generator →

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