#BA62FE#BA62FE

#BA62FE is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.8% C 0.227 H 307.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#BA62FE
RGBrgb(186, 98, 254)
HSLhsl(274, 99%, 69%)
HSVhsv(274, 61%, 100%)
CMYKcmyk(26.8%, 61.4%, 0%, 0.4%)
CIE-LABlab(58.35, 61.88, -63.98)
CIE-LCHlch(58.35, 89.01, 314.04°)
OKLaboklab(66.77% 0.1377 -0.1808)
OKLCHoklch(66.77% 0.227 307.3)
XYZxyz(42.5031, 26.3307, 96.5900)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62FE #A6FE62
analogous
#6C62FE #BA62FE #FE62F4
triadic
#BA62FE #FEBA62 #62FEBA
tetradic
#BA62FE #FE6C62 #A6FE62 #62F4FE
square
#BA62FE #FE6C62 #A6FE62 #62F4FE
split-complementary
#BA62FE #F4FE62 #62FE6C
monochromatic
#8101E4 #9F25FE #BA62FE #D59FFE #EFDCFF

Accessibility & contrast

On white

3.35
#BA62FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#BA62FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62FE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62FE#FFFFFF#000000##000000
##BA62FE1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0189FF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#AF82A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba62fe;
/* rgb */ color: rgb(186, 98, 254);
/* oklch */ color: oklch(66.8% 0.227 307.3);
Tailwind
colors: {
  custom: {
    50: '#d393ff',
    500: '#ba62fe',
    950: '#000000',
  },
}
SCSS
$custom: #ba62fe;
$custom-light: #d393ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62fe",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 273.846,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66765,
    "c": 0.22724,
    "h": 307.3
  },
  "luminance": 0.2633
}

Semantic roles & 50–950 ramp

primary
#BA62FE
secondary
#DBF5C7
accent
#E60064
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA62FE

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

Preview Lab → · Contrast checker → · Palette generator →

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