#B395EA#B395EA

#B395EA is a light, vivid violet. Relative luminance 0.370; OKLCH L 72.9% C 0.124 H 299.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B395EA
RGBrgb(179, 149, 234)
HSLhsl(261, 67%, 75%)
HSVhsv(261, 36%, 92%)
CMYKcmyk(23.5%, 36.3%, 0%, 8.2%)
CIE-LABlab(67.29, 28.32, -38.83)
CIE-LCHlch(67.29, 48.06, 306.10°)
OKLaboklab(72.92% 0.0612 -0.1078)
OKLCHoklch(72.92% 0.124 299.6)
XYZxyz(44.1858, 37.0189, 82.6435)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B395EA #CCEA95
analogous
#95A2EA #B395EA #DD95EA
triadic
#B395EA #EAB395 #95EAB3
tetradic
#B395EA #EA95A2 #CCEA95 #95EADD
square
#B395EA #EA95A2 #CCEA95 #95EADD
split-complementary
#B395EA #EADD95 #A2EA95
monochromatic
#6A2FD6 #8E62E0 #B395EA #D8C8F4 #EDE5FA

Accessibility & contrast

On white

2.50
#B395EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B395EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B395EA
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B395EA#FFFFFF#000000##000000
##B395EA1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4ED
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#A9A3B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b395ea;
/* rgb */ color: rgb(179, 149, 234);
/* oklch */ color: oklch(72.9% 0.124 299.6);
Tailwind
colors: {
  custom: {
    50: '#cbb4f1',
    500: '#b395ea',
    950: '#000000',
  },
}
SCSS
$custom: #b395ea;
$custom-light: #cbb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b395ea",
  "rgb": {
    "r": 179,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 261.176,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72923,
    "c": 0.12399,
    "h": 299.6
  },
  "luminance": 0.37019
}

Semantic roles & 50–950 ramp

primary
#B395EA
secondary
#E9F1DA
accent
#CF178E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B395EA

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

Preview Lab → · Contrast checker → · Palette generator →

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