#B46AFA#B46AFA

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

Color values

HEX#B46AFA
RGBrgb(180, 106, 250)
HSLhsl(271, 94%, 70%)
HSVhsv(271, 58%, 98%)
CMYKcmyk(28%, 57.6%, 0%, 2%)
CIE-LABlab(58.89, 55.67, -60.94)
CIE-LCHlch(58.89, 82.54, 312.41°)
OKLaboklab(66.93% 0.1209 -0.172)
OKLCHoklch(66.93% 0.21 305.1)
XYZxyz(41.2280, 26.9137, 93.4469)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46AFA #B0FA6A
analogous
#6C6AFA #B46AFA #FA6AF8
triadic
#B46AFA #FAB46A #6AFAB4
tetradic
#B46AFA #FA6C6A #B0FA6A #6AF8FA
square
#B46AFA #FA6C6A #B0FA6A #6AF8FA
split-complementary
#B46AFA #F8FA6A #6AFA6C
monochromatic
#7808E2 #962FF8 #B46AFA #D2A5FC #F0E0FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B46AFA#FFFFFF#000000##000000
##B46AFA1.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)
#2C8CFF
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#A886A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b46afa;
/* rgb */ color: rgb(180, 106, 250);
/* oklch */ color: oklch(66.9% 0.210 305.1);
Tailwind
colors: {
  custom: {
    50: '#ce98fd',
    500: '#b46afa',
    950: '#000000',
  },
}
SCSS
$custom: #b46afa;
$custom-light: #ce98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b46afa",
  "rgb": {
    "r": 180,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 270.833,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66934,
    "c": 0.21029,
    "h": 305.1
  },
  "luminance": 0.26913
}

Semantic roles & 50–950 ramp

primary
#B46AFA
secondary
#DFF4CC
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B46AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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