#B462EC#B462EC

#B462EC is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.0% C 0.207 H 309.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B462EC
RGBrgb(180, 98, 236)
HSLhsl(276, 78%, 65%)
HSVhsv(276, 58%, 93%)
CMYKcmyk(23.7%, 58.5%, 0%, 7.5%)
CIE-LABlab(56.58, 56.55, -56.86)
CIE-LCHlch(56.58, 80.19, 314.84°)
OKLaboklab(64.98% 0.1306 -0.1601)
OKLCHoklch(64.98% 0.207 309.2)
XYZxyz(38.3274, 24.4954, 82.0496)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462EC #9AEC62
analogous
#6F62EC #B462EC #EC62DF
triadic
#B462EC #ECB462 #62ECB4
tetradic
#B462EC #EC6F62 #9AEC62 #62DFEC
square
#B462EC #EC6F62 #9AEC62 #62DFEC
split-complementary
#B462EC #DFEC62 #62EC6F
monochromatic
#7917BD #9A2BE5 #B462EC #CE99F3 #E8CFF9

Accessibility & contrast

On white

3.56
#B462EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B462EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462EC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462EC#FFFFFF#000000##000000
##B462EC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#AC7C9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b462ec;
/* rgb */ color: rgb(180, 98, 236);
/* oklch */ color: oklch(65.0% 0.207 309.2);
Tailwind
colors: {
  custom: {
    50: '#ce92f3',
    500: '#b462ec',
    950: '#000000',
  },
}
SCSS
$custom: #b462ec;
$custom-light: #ce92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b462ec",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 275.652,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64984,
    "c": 0.20658,
    "h": 309.2
  },
  "luminance": 0.24495
}

Semantic roles & 50–950 ramp

primary
#B462EC
secondary
#D1ECBE
accent
#DB0B5F
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462EC

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

Preview Lab → · Contrast checker → · Palette generator →

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