#BA62FF#BA62FF

#BA62FF is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.8% C 0.228 H 307.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#BA62FF
RGBrgb(186, 98, 255)
HSLhsl(274, 100%, 69%)
HSVhsv(274, 62%, 100%)
CMYKcmyk(27.1%, 61.6%, 0%, 0%)
CIE-LABlab(58.41, 62.10, -64.44)
CIE-LCHlch(58.41, 89.49, 313.94°)
OKLaboklab(66.83% 0.1377 -0.1821)
OKLCHoklch(66.83% 0.228 307.1)
XYZxyz(42.6636, 26.3950, 97.4355)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62FF #A7FF62
analogous
#6C62FF #BA62FF #FF62F5
triadic
#BA62FF #FFBA62 #62FFBA
tetradic
#BA62FF #FF6C62 #A7FF62 #62F5FF
square
#BA62FF #FF6C62 #A7FF62 #62F5FF
split-complementary
#BA62FF #F5FF62 #62FF6C
monochromatic
#8100E7 #9F25FF #BA62FF #D59FFF #F0DCFF

Accessibility & contrast

On white

3.34
#BA62FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#BA62FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62FF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62FF#FFFFFF#000000##000000
##BA62FF1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#448DFB
Tritanopia (blue-blind)
#AF82A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba62ff;
/* rgb */ color: rgb(186, 98, 255);
/* oklch */ color: oklch(66.8% 0.228 307.1);
Tailwind
colors: {
  custom: {
    50: '#d393ff',
    500: '#ba62ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba62ff;
$custom-light: #d393ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62ff",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 273.631,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66828,
    "c": 0.22829,
    "h": 307.1
  },
  "luminance": 0.26394
}

Semantic roles & 50–950 ramp

primary
#BA62FF
secondary
#DCF5C8
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA62FF

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

Preview Lab → · Contrast checker → · Palette generator →

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