#B495EC#B495EC

#B495EC is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.1% C 0.127 H 299.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B495EC
RGBrgb(180, 149, 236)
HSLhsl(261, 70%, 75%)
HSVhsv(261, 37%, 93%)
CMYKcmyk(23.7%, 36.9%, 0%, 7.5%)
CIE-LABlab(67.47, 29.08, -39.65)
CIE-LCHlch(67.47, 49.17, 306.26°)
OKLaboklab(73.11% 0.0628 -0.1102)
OKLCHoklch(73.11% 0.127 299.7)
XYZxyz(44.7068, 37.2541, 84.1761)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B495EC #CDEC95
analogous
#95A1EC #B495EC #DF95EC
triadic
#B495EC #ECB495 #95ECB4
tetradic
#B495EC #EC95A1 #CDEC95 #95ECDF
square
#B495EC #EC95A1 #CDEC95 #95ECDF
split-complementary
#B495EC #ECDF95 #A1EC95
monochromatic
#6B2DD9 #8F61E3 #B495EC #D9C9F5 #EDE5FA

Accessibility & contrast

On white

2.48
#B495EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B495EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B495EC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B495EC#FFFFFF#000000##000000
##B495EC1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EF
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#AAA3B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b495ec;
/* rgb */ color: rgb(180, 149, 236);
/* oklch */ color: oklch(73.1% 0.127 299.7);
Tailwind
colors: {
  custom: {
    50: '#ccb4f2',
    500: '#b495ec',
    950: '#000000',
  },
}
SCSS
$custom: #b495ec;
$custom-light: #ccb4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b495ec",
  "rgb": {
    "r": 180,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 261.379,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73106,
    "c": 0.12681,
    "h": 299.7
  },
  "luminance": 0.37254
}

Semantic roles & 50–950 ramp

primary
#B495EC
secondary
#E9F2D9
accent
#D2148E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B495EC

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

Preview Lab → · Contrast checker → · Palette generator →

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