#B462F2#B462F2

#B462F2 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.213 H 307.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B462F2
RGBrgb(180, 98, 242)
HSLhsl(274, 85%, 67%)
HSVhsv(274, 60%, 95%)
CMYKcmyk(25.6%, 59.5%, 0%, 5.1%)
CIE-LABlab(56.93, 57.87, -59.65)
CIE-LCHlch(56.93, 83.11, 314.14°)
OKLaboklab(65.35% 0.1305 -0.1682)
OKLCHoklch(65.35% 0.213 307.8)
XYZxyz(39.2138, 24.8500, 86.7179)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462F2 #A0F262
analogous
#6C62F2 #B462F2 #F262E8
triadic
#B462F2 #F2B462 #62F2B4
tetradic
#B462F2 #F26C62 #A0F262 #62E8F2
square
#B462F2 #F26C62 #A0F262 #62E8F2
split-complementary
#B462F2 #E8F262 #62F26C
monochromatic
#7A11C9 #9929ED #B462F2 #CF9BF7 #EAD3FB

Accessibility & contrast

On white

3.52
#B462F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B462F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462F2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462F2#FFFFFF#000000##000000
##B462F21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F7
Deuteranopia (green-blind)
#4B89EF
Tritanopia (blue-blind)
#AB7EA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b462f2;
/* rgb */ color: rgb(180, 98, 242);
/* oklch */ color: oklch(65.3% 0.213 307.8);
Tailwind
colors: {
  custom: {
    50: '#ce92f7',
    500: '#b462f2',
    950: '#000000',
  },
}
SCSS
$custom: #b462f2;
$custom-light: #ce92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b462f2",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 274.167,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6535,
    "c": 0.21295,
    "h": 307.8
  },
  "luminance": 0.24849
}

Semantic roles & 50–950 ramp

primary
#B462F2
secondary
#D5EFC1
accent
#E10463
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462F2

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

Preview Lab → · Contrast checker → · Palette generator →

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