#B38EF2#B38EF2

#B38EF2 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.1% C 0.146 H 299.8°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B38EF2
RGBrgb(179, 142, 242)
HSLhsl(262, 79%, 75%)
HSVhsv(262, 41%, 95%)
CMYKcmyk(26%, 41.3%, 0%, 5.1%)
CIE-LABlab(66.01, 34.12, -45.23)
CIE-LCHlch(66.01, 56.66, 307.03°)
OKLaboklab(72.07% 0.0724 -0.1263)
OKLCHoklch(72.07% 0.146 299.8)
XYZxyz(44.2868, 35.3403, 88.4754)
Luminance0.3534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38EF2 #CDF28E
analogous
#8E9BF2 #B38EF2 #E58EF2
triadic
#B38EF2 #F2B38E #8EF2B3
tetradic
#B38EF2 #F28E9B #CDF28E #8EF2E5
square
#B38EF2 #F28E9B #CDF28E #8EF2E5
split-complementary
#B38EF2 #F2E58E #9BF28E
monochromatic
#6920E5 #8E57EC #B38EF2 #D8C5F8 #EDE4FC

Accessibility & contrast

On white

2.60
#B38EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#B38EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38EF2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38EF2#FFFFFF#000000##000000
##B38EF21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#7AA0EF
Tritanopia (blue-blind)
#A79FB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b38ef2;
/* rgb */ color: rgb(179, 142, 242);
/* oklch */ color: oklch(72.1% 0.146 299.8);
Tailwind
colors: {
  custom: {
    50: '#ccaff7',
    500: '#b38ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b38ef2;
$custom-light: #ccaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ef2",
  "rgb": {
    "r": 179,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 262.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72071,
    "c": 0.14559,
    "h": 299.8
  },
  "luminance": 0.35341
}

Semantic roles & 50–950 ramp

primary
#B38EF2
secondary
#E9F4D7
accent
#DC0A8E
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #B38EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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