#B462EF#B462EF

#B462EF is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.2% C 0.210 H 308.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B462EF
RGBrgb(180, 98, 239)
HSLhsl(275, 82%, 66%)
HSVhsv(275, 59%, 94%)
CMYKcmyk(24.7%, 59%, 0%, 6.3%)
CIE-LABlab(56.75, 57.21, -58.26)
CIE-LCHlch(56.75, 81.65, 314.48°)
OKLaboklab(65.17% 0.1306 -0.1642)
OKLCHoklch(65.17% 0.21 308.5)
XYZxyz(38.7669, 24.6712, 84.3644)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462EF #9DEF62
analogous
#6D62EF #B462EF #EF62E3
triadic
#B462EF #EFB462 #62EFB4
tetradic
#B462EF #EF6D62 #9DEF62 #62E3EF
square
#B462EF #EF6D62 #9DEF62 #62E3EF
split-complementary
#B462EF #E3EF62 #62EF6D
monochromatic
#7A14C3 #992AE9 #B462EF #CF9AF5 #E9D1FA

Accessibility & contrast

On white

3.54
#B462EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B462EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462EF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462EF#FFFFFF#000000##000000
##B462EF1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F3
Deuteranopia (green-blind)
#4E89EC
Tritanopia (blue-blind)
#AB7D9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b462ef;
/* rgb */ color: rgb(180, 98, 239);
/* oklch */ color: oklch(65.2% 0.210 308.5);
Tailwind
colors: {
  custom: {
    50: '#ce92f5',
    500: '#b462ef',
    950: '#000000',
  },
}
SCSS
$custom: #b462ef;
$custom-light: #ce92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b462ef",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 274.894,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65166,
    "c": 0.20976,
    "h": 308.5
  },
  "luminance": 0.24671
}

Semantic roles & 50–950 ramp

primary
#B462EF
secondary
#D3EEBF
accent
#DE0861
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462EF

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

Preview Lab → · Contrast checker → · Palette generator →

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