#B495F8#B495F8

#B495F8 is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.7% C 0.143 H 297.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B495F8
RGBrgb(180, 149, 248)
HSLhsl(259, 88%, 78%)
HSVhsv(259, 40%, 97%)
CMYKcmyk(27.4%, 39.9%, 0%, 2.7%)
CIE-LABlab(68.00, 31.93, -45.38)
CIE-LCHlch(68.00, 55.49, 305.13°)
OKLaboklab(73.69% 0.0651 -0.1267)
OKLCHoklch(73.69% 0.143 297.2)
XYZxyz(46.5091, 37.9750, 93.6684)
Luminance0.3798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B495F8 #D9F895
analogous
#95A7F8 #B495F8 #E695F8
triadic
#B495F8 #F8B495 #95F8B4
tetradic
#B495F8 #F895A7 #D9F895 #95F8E6
square
#B495F8 #F895A7 #D9F895 #95F8E6
split-complementary
#B495F8 #F8E695 #A7F895
monochromatic
#6322F0 #8B5CF4 #B495F8 #DDCEFC #EBE2FD

Accessibility & contrast

On white

2.44
#B495F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B495F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B495F8
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B495F8#FFFFFF#000000##000000
##B495F81.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#7FA5F5
Tritanopia (blue-blind)
#A6A6BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b495f8;
/* rgb */ color: rgb(180, 149, 248);
/* oklch */ color: oklch(73.7% 0.143 297.2);
Tailwind
colors: {
  custom: {
    50: '#ccb4fb',
    500: '#b495f8',
    950: '#000000',
  },
}
SCSS
$custom: #b495f8;
$custom-light: #ccb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b495f8",
  "rgb": {
    "r": 180,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 258.788,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73688,
    "c": 0.14251,
    "h": 297.2
  },
  "luminance": 0.37976
}

Semantic roles & 50–950 ramp

primary
#B495F8
secondary
#EBF5D6
accent
#E4019D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B495F8

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

Preview Lab → · Contrast checker → · Palette generator →

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