#7238C8#7238C8

#7238C8 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.209 H 296.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7238C8
RGBrgb(114, 56, 200)
HSLhsl(264, 57%, 50%)
HSVhsv(264, 72%, 78%)
CMYKcmyk(43%, 72%, 0%, 21.6%)
CIE-LABlab(38.86, 54.75, -65.36)
CIE-LCHlch(38.86, 85.26, 309.95°)
OKLaboklab(49.73% 0.0926 -0.187)
OKLCHoklch(49.73% 0.209 296.3)
XYZxyz(18.7762, 10.5755, 55.6844)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7238C8 #8EC838
analogous
#3846C8 #7238C8 #BA38C8
triadic
#7238C8 #C87238 #38C872
tetradic
#7238C8 #C83846 #8EC838 #38C8BA
square
#7238C8 #C83846 #8EC838 #38C8BA
split-complementary
#7238C8 #C8BA38 #46C838
monochromatic
#3B1D69 #572A99 #7238C8 #9468D5 #B698E3

Accessibility & contrast

On white

6.74
#7238C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7238C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7238C8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7238C8#FFFFFF#000000##FFFFFF
##7238C81.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#5B5D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7238c8;
/* rgb */ color: rgb(114, 56, 200);
/* oklch */ color: oklch(49.7% 0.209 296.3);
Tailwind
colors: {
  custom: {
    50: '#a274da',
    500: '#7238c8',
    950: '#000000',
  },
}
SCSS
$custom: #7238c8;
$custom-light: #a274da;
$custom-dark: #000000;
JSON
{
  "hex": "#7238c8",
  "rgb": {
    "r": 114,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 264.167,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.20866,
    "h": 296.3
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#7238C8
secondary
#B4CE8E
accent
#E048A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7238C8

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

Preview Lab → · Contrast checker → · Palette generator →

#7238C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva